正在查看: 万能钥匙 v1.1.23 应用的 n.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 n.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package pq;
import android.annotation.SuppressLint;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.widget.RemoteViews;
import androidx.core.app.NotificationCompat;
import androidx.core.app.l;
import com.google.android.inner_exoplayer2.C;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.sdk.plus.BuildConstants;
import com.sdk.plus.data.manager.RalDataManager;
import com.wifitutu.link.foundation.kernel.e;
import com.wifitutu.link.foundation.kernel.g;
import java.lang.reflect.Method;
import kotlin.Metadata;
import kotlin.jvm.internal.a0;
import lg0.e0;
import os.f2;
import os.g1;
import os.w0;
import ps.b0;
import qs.d6;
import qs.h4;
import qs.q6;
import qs.r4;
import qs.t;
import qs.t3;
import qs.u0;
import qs.z4;
import uj0.a;
@Metadata(d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\bÆ\u0002\u0018\u00002\u00020\u0001:\u0003 %)B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J/\u0010\u000b\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\u0010\b\u0002\u0010\n\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\b¢\u0006\u0004\b\u000b\u0010\fJ\u001f\u0010\r\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0002¢\u0006\u0004\b\r\u0010\u000eJ\u000f\u0010\u000f\u001a\u00020\tH\u0002¢\u0006\u0004\b\u000f\u0010\u0003J\u0017\u0010\u0010\u001a\u00020\t2\u0006\u0010\u0007\u001a\u00020\u0006H\u0002¢\u0006\u0004\b\u0010\u0010\u0011J\u001f\u0010\u0014\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0013\u001a\u00020\u0012H\u0002¢\u0006\u0004\b\u0014\u0010\u0015J/\u0010\u001a\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0019\u001a\u00020\u0018H\u0003¢\u0006\u0004\b\u001a\u0010\u001bJ\u001f\u0010\u001c\u001a\u00020\t2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0002¢\u0006\u0004\b\u001c\u0010\u000eJ!\u0010\u001d\u001a\u00020\t2\u0010\b\u0002\u0010\n\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\bH\u0002¢\u0006\u0004\b\u001d\u0010\u001eR\u001b\u0010$\u001a\u00020\u001f8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b \u0010!\u001a\u0004\b\"\u0010#R\u0014\u0010'\u001a\u00020\u00168\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b%\u0010&R\u0018\u0010+\u001a\u0004\u0018\u00010(8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b)\u0010*R\u001b\u00100\u001a\u00020,8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b-\u0010!\u001a\u0004\b.\u0010/¨\u00061"}, d2 = {"Lpq/n;", "", "<init>", "()V", "Landroid/content/Context;", "context", "Landroid/content/Intent;", "intent", "Lkotlin/Function0;", "Llg0/e0;", "fail", "u", "(Landroid/content/Context;Landroid/content/Intent;Lah0/a;)V", "n", "(Landroid/content/Context;Landroid/content/Intent;)V", "m", "l", "(Landroid/content/Intent;)V", "", "channel", "p", "(Landroid/content/Context;Ljava/lang/String;)V", "Lpq/n$b;", "notify", "Ljava/lang/Runnable;", "runnable", "s", "(Landroid/content/Context;Landroid/content/Intent;Lpq/n$b;Ljava/lang/Runnable;)V", RalDataManager.DB_TIME, com.facebook.react.uimanager.events.o.f16820f, "(Lah0/a;)V", "", bg.b.f9417c, "Llg0/h;", "r", "()I", "DEFAULT_NOTIFY_ID", r0.c.f68529d, "Lpq/n$b;", "sNotify1", "Landroid/app/PendingIntent;", bg.d.f9423d, "Landroid/app/PendingIntent;", "pendingIntent", "Lss/b;", "e", "q", "()Lss/b;", "alarmManager", "wakeup-ball_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class n {
public static final n f65331a;
public static final lg0.h DEFAULT_NOTIFY_ID;
public static final b sNotify1;
public static ChangeQuickRedirect changeQuickRedirect;
public static PendingIntent pendingIntent;
public static final lg0.h alarmManager;
@Metadata(d1 = {"\u0000\b\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"", "a", "()Ljava/lang/Integer;"}, k = 3, mv = {1, 8, 0})
public static final class a extends kotlin.jvm.internal.p implements ah0.a<Integer> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final a f65336s = new a();
public a() {
super(0);
}
public final Integer a() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2960, new Class[0], Integer.class);
return proxy.isSupported ? (Integer) proxy.result : Integer.valueOf(b0.b(g1.a(f2.d())).E8());
}
@Override
public Integer invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2961, new Class[0], Object.class);
return proxy.isSupported ? proxy.result : a();
}
}
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0016\b\u0002\u0018\u00002\u00020\u0001B'\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\u0006\u0010\u0006\u001a\u00020\u0004\u0012\u0006\u0010\u0007\u001a\u00020\u0002¢\u0006\u0004\b\b\u0010\tR\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\n\u0010\u000b\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\"\u0010\u0005\u001a\u00020\u00048\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\f\u0010\u0010\u001a\u0004\b\u0011\u0010\u0012\"\u0004\b\u0013\u0010\u0014R\"\u0010\u0006\u001a\u00020\u00048\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0015\u0010\u0010\u001a\u0004\b\n\u0010\u0012\"\u0004\b\u0016\u0010\u0014R\"\u0010\u0007\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0017\u0010\u000b\u001a\u0004\b\u0018\u0010\r\"\u0004\b\u0019\u0010\u000f¨\u0006\u001a"}, d2 = {"Lpq/n$b;", "", "", "id", "", "tag", "channel", "msgId", "<init>", "(ILjava/lang/String;Ljava/lang/String;I)V", "a", "I", bg.b.f9417c, "()I", "setId", "(I)V", "Ljava/lang/String;", "getTag", "()Ljava/lang/String;", "setTag", "(Ljava/lang/String;)V", r0.c.f68529d, "setChannel", bg.d.f9423d, "getMsgId", "setMsgId", "wakeup-ball_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class b {
public static ChangeQuickRedirect changeQuickRedirect;
public int id;
public String tag;
public String channel;
public int msgId;
public b(int i11, String str, String str2, int i12) {
this.id = i11;
this.tag = str;
this.channel = str2;
this.msgId = i12;
}
public final String getChannel() {
return this.channel;
}
public final int getId() {
return this.id;
}
}
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u000b\b\u0002\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0006\u0010\u0007J\u000f\u0010\t\u001a\u00020\bH\u0016¢\u0006\u0004\b\t\u0010\nR\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000eR\u0017\u0010\u0005\u001a\u00020\u00048\u0006¢\u0006\f\n\u0004\b\u000f\u0010\u0010\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u0013"}, d2 = {"Lpq/n$c;", "Ljava/lang/Runnable;", "Landroid/content/Context;", "context", "Landroid/content/Intent;", "intent", "<init>", "(Landroid/content/Context;Landroid/content/Intent;)V", "Llg0/e0;", "run", "()V", "a", "Landroid/content/Context;", "getContext", "()Landroid/content/Context;", bg.b.f9417c, "Landroid/content/Intent;", "getIntent", "()Landroid/content/Intent;", "wakeup-ball_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class c implements Runnable {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context context;
public final Intent intent;
public c(Context context, Intent intent) {
this.context = context;
this.intent = intent;
}
@Override
public void run() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2962, new Class[0], Void.TYPE).isSupported) {
return;
}
n.j(n.f65331a, this.context, this.intent);
}
}
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\n\b\u0002\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0001¢\u0006\u0004\b\u0005\u0010\u0006J\u000f\u0010\b\u001a\u00020\u0007H\u0016¢\u0006\u0004\b\b\u0010\tR\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\n\u0010\fR\u0017\u0010\u0004\u001a\u00020\u00018\u0006¢\u0006\f\n\u0004\b\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010¨\u0006\u0011"}, d2 = {"Lpq/n$d;", "Ljava/lang/Runnable;", "Landroid/app/PendingIntent;", "pendingIntent", "runnable", "<init>", "(Landroid/app/PendingIntent;Ljava/lang/Runnable;)V", "Llg0/e0;", "run", "()V", "a", "Landroid/app/PendingIntent;", "()Landroid/app/PendingIntent;", bg.b.f9417c, "Ljava/lang/Runnable;", "getRunnable", "()Ljava/lang/Runnable;", "wakeup-ball_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class d implements Runnable {
public static ChangeQuickRedirect changeQuickRedirect;
public final PendingIntent pendingIntent;
public final Runnable runnable;
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class a extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final a0 f65346t;
public a(a0 a0Var) {
super(0);
this.f65346t = a0Var;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2965, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2964, new Class[0], Void.TYPE).isSupported) {
return;
}
d.this.getPendingIntent().send();
this.f65346t.f57638a = true;
}
}
public d(PendingIntent pendingIntent, Runnable runnable) {
this.pendingIntent = pendingIntent;
this.runnable = runnable;
}
public final PendingIntent getPendingIntent() {
return this.pendingIntent;
}
@Override
public void run() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2963, new Class[0], Void.TYPE).isSupported) {
return;
}
a0 a0Var = new a0();
d6.k(new a(a0Var));
if (a0Var.f57638a) {
return;
}
this.runnable.run();
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class e extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Intent f65347s;
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class a extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Intent f65348s;
public a(Intent intent) {
super(0);
this.f65348s = intent;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2969, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2968, new Class[0], Void.TYPE).isSupported) {
return;
}
Method declaredMethod = this.f65348s.getClass().getDeclaredMethod("setForceStart", Boolean.TYPE);
Intent intent = this.f65348s;
declaredMethod.setAccessible(true);
declaredMethod.invoke(intent, Boolean.TRUE);
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class b extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Intent f65349s;
public b(Intent intent) {
super(0);
this.f65349s = intent;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2971, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2970, new Class[0], Void.TYPE).isSupported) {
return;
}
Method declaredMethod = this.f65349s.getClass().getDeclaredMethod("setIsVivoWidget", Boolean.TYPE);
Intent intent = this.f65349s;
declaredMethod.setAccessible(true);
declaredMethod.invoke(intent, Boolean.TRUE);
}
}
public e(Intent intent) {
super(0);
this.f65347s = intent;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2967, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2966, new Class[0], Void.TYPE).isSupported) {
return;
}
boolean j11 = w0.j(w0.a(f2.d()));
Class<?> cls = Integer.TYPE;
if (j11) {
Method declaredMethod = this.f65347s.getClass().getDeclaredMethod("addMiuiFlags", cls);
Intent intent = this.f65347s;
declaredMethod.setAccessible(true);
declaredMethod.invoke(intent, 2);
return;
}
if (w0.i(w0.a(f2.d()))) {
d6.k(new a(this.f65347s));
d6.k(new b(this.f65347s));
} else if (w0.e(w0.a(f2.d()))) {
Method declaredMethod2 = this.f65347s.getClass().getDeclaredMethod("setOplusFlags", cls);
Intent intent2 = this.f65347s;
declaredMethod2.setAccessible(true);
declaredMethod2.invoke(intent2, 512);
}
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Lss/b;", "a", "()Lss/b;"}, k = 3, mv = {1, 8, 0})
public static final class f extends kotlin.jvm.internal.p implements ah0.a<ss.b> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final f f65350s = new f();
public f() {
super(0);
}
public final ss.b a() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2972, new Class[0], ss.b.class);
return proxy.isSupported ? (ss.b) proxy.result : u0.d(f2.b(f2.d()));
}
@Override
public ss.b invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2973, new Class[0], Object.class);
return proxy.isSupported ? proxy.result : a();
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class g extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final g f65351s = new g();
public g() {
super(0);
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2975, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
PendingIntent pendingIntent;
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2974, new Class[0], Void.TYPE).isSupported || (pendingIntent = n.pendingIntent) == null) {
return;
}
n.e(n.f65331a).a(pendingIntent);
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class h extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context f65352s;
public final Intent f65353t;
public h(Context context, Intent intent) {
super(0);
this.f65352s = context;
this.f65353t = intent;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2977, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2976, new Class[0], Void.TYPE).isSupported && Build.VERSION.SDK_INT >= 29) {
ChangeQuickRedirect changeQuickRedirect2 = n.changeQuickRedirect;
Context context = this.f65352s;
n nVar = n.f65331a;
PendingIntent activity = PendingIntent.getActivity(context, n.f(nVar), this.f65353t, C.BUFFER_FLAG_FIRST_SAMPLE);
n.e(nVar).a(activity);
n.e(nVar).b(0, System.currentTimeMillis() + 200, activity);
n.pendingIntent = activity;
}
}
}
@Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Lqs/t3;", "it", "Llg0/e0;", "a", "(Lqs/t3;)V"}, k = 3, mv = {1, 8, 0})
public static final class i extends kotlin.jvm.internal.p implements ah0.l<t3, e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final ah0.a<e0> f65354s;
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class a extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final ah0.a<e0> f65355s;
public a(ah0.a<e0> aVar) {
super(0);
this.f65355s = aVar;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2981, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
ah0.a<e0> aVar;
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2980, new Class[0], Void.TYPE).isSupported || com.wifitutu.link.foundation.kernel.d.d().r().getForegrounding() || (aVar = this.f65355s) == null) {
return;
}
aVar.invoke();
}
}
public i(ah0.a<e0> aVar) {
super(1);
this.f65354s = aVar;
}
public final void a(t3 t3Var) {
if (PatchProxy.proxy(new Object[]{t3Var}, this, changeQuickRedirect, false, 2978, new Class[]{t3.class}, Void.TYPE).isSupported) {
return;
}
t.g(new a(this.f65354s));
}
@Override
public e0 invoke(t3 t3Var) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{t3Var}, this, changeQuickRedirect, false, 2979, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a(t3Var);
return e0.f58580a;
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class j extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final String f65356s;
public final Context f65357t;
public j(String str, Context context) {
super(0);
this.f65356s = str;
this.f65357t = context;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2983, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2982, new Class[0], Void.TYPE).isSupported && Build.VERSION.SDK_INT >= 26) {
l.c cVar = new l.c(this.f65356s, 2);
cVar.d("Default");
cVar.b("Default");
cVar.c(false);
cVar.g(false);
cVar.e(false);
cVar.f(null, null);
androidx.core.app.o.g(this.f65357t).f(cVar.a());
}
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class k extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context f65358s;
public final b f65359t;
public final PendingIntent f65360u;
public k(Context context, b bVar, PendingIntent pendingIntent) {
super(0);
this.f65358s = context;
this.f65359t = bVar;
this.f65360u = pendingIntent;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2985, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2984, new Class[0], Void.TYPE).isSupported) {
return;
}
n.d(n.f65331a, this.f65358s, this.f65359t.getChannel());
RemoteViews remoteViews = new RemoteViews(this.f65358s.getPackageName(), sq.d.layout_ntf);
NotificationCompat.Builder builder = new NotificationCompat.Builder(this.f65358s, this.f65359t.getChannel());
Context context = this.f65358s;
PendingIntent pendingIntent = this.f65360u;
builder.setSmallIcon(context.getApplicationInfo().icon);
builder.setFullScreenIntent(pendingIntent, true);
builder.setCustomContentView(remoteViews);
builder.setCustomBigContentView(remoteViews);
builder.setCustomHeadsUpContentView(remoteViews);
builder.setVisibility(-1);
builder.setPriority(-1);
builder.setOngoing(true);
builder.setVibrate(null);
builder.setSound(null);
builder.setDefaults(8);
androidx.core.app.o.g(this.f65358s).i(this.f65359t.getId(), builder.build());
}
}
@Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Lqs/t3;", "it", "Llg0/e0;", "a", "(Lqs/t3;)V"}, k = 3, mv = {1, 8, 0})
public static final class l extends kotlin.jvm.internal.p implements ah0.l<t3, e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context f65361s;
public final b f65362t;
public l(Context context, b bVar) {
super(1);
this.f65361s = context;
this.f65362t = bVar;
}
public final void a(t3 t3Var) {
if (PatchProxy.proxy(new Object[]{t3Var}, this, changeQuickRedirect, false, 2986, new Class[]{t3.class}, Void.TYPE).isSupported) {
return;
}
androidx.core.app.o.g(this.f65361s).b(this.f65362t.getId());
}
@Override
public e0 invoke(t3 t3Var) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{t3Var}, this, changeQuickRedirect, false, 2987, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a(t3Var);
return e0.f58580a;
}
}
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
public static final class m extends kotlin.jvm.internal.p implements ah0.a<Object> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final m f65363s = new m();
public m() {
super(0);
}
@Override
public final Object invoke() {
return "Activity 原始方式启动";
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class C1762n extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context f65364s;
public final Intent f65365t;
public final c f65366u;
public final ah0.a<e0> f65367v;
public final z4<r4> f65368w;
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
public static final class a extends kotlin.jvm.internal.p implements ah0.a<Object> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final a f65369s = new a();
public a() {
super(0);
}
@Override
public final Object invoke() {
return "Activity 通知方式启动";
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class b extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context f65370s;
public final Intent f65371t;
public final ah0.a<e0> f65372u;
public final z4<r4> f65373v;
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
public static final class a extends kotlin.jvm.internal.p implements ah0.a<Object> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final a f65374s = new a();
public a() {
super(0);
}
@Override
public final Object invoke() {
return "Activity 闹钟方式启动";
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class C1763b extends kotlin.jvm.internal.p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final ah0.a<e0> f65375s;
public final z4<r4> f65376t;
public C1763b(ah0.a<e0> aVar, z4<r4> z4Var) {
super(0);
this.f65375s = aVar;
this.f65376t = z4Var;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2993, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2992, new Class[0], Void.TYPE).isSupported) {
return;
}
ah0.a<e0> aVar = this.f65375s;
if (aVar != null) {
aVar.invoke();
}
e.a.a(this.f65376t, null, 1, null);
}
}
public b(Context context, Intent intent, ah0.a<e0> aVar, z4<r4> z4Var) {
super(0);
this.f65370s = context;
this.f65371t = intent;
this.f65372u = aVar;
this.f65373v = z4Var;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2991, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2990, new Class[0], Void.TYPE).isSupported) {
return;
}
h4.l().y("FLOATPOP", a.f65374s);
n nVar = n.f65331a;
Context context = this.f65370s;
Object clone = this.f65371t.clone();
kotlin.jvm.internal.n.g(clone, "null cannot be cast to non-null type android.content.Intent");
n.b(nVar, context, (Intent) clone);
n.c(nVar, new C1763b(this.f65372u, this.f65373v));
}
}
public C1762n(Context context, Intent intent, c cVar, ah0.a<e0> aVar, z4<r4> z4Var) {
super(0);
this.f65364s = context;
this.f65365t = intent;
this.f65366u = cVar;
this.f65367v = aVar;
this.f65368w = z4Var;
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2989, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.f58580a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2988, new Class[0], Void.TYPE).isSupported) {
return;
}
h4.l().y("FLOATPOP", a.f65369s);
n nVar = n.f65331a;
Context context = this.f65364s;
Object clone = this.f65365t.clone();
kotlin.jvm.internal.n.g(clone, "null cannot be cast to non-null type android.content.Intent");
n.i(nVar, context, (Intent) clone, n.sNotify1, this.f65366u);
n.c(nVar, new b(this.f65364s, this.f65365t, this.f65367v, this.f65368w));
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0001\u001a\u00020\u00002\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00000\u0002H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"Lqs/r4;", "data", "Lqs/z4;", "proxy", "Llg0/e0;", "a", "(Lqs/r4;Lqs/z4;)V"}, k = 3, mv = {1, 8, 0})
public static final class o extends kotlin.jvm.internal.p implements ah0.p<r4, z4<r4>, e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final o f65377s = new o();
public o() {
super(2);
}
public final void a(r4 r4Var, z4<r4> z4Var) {
if (!PatchProxy.proxy(new Object[]{r4Var, z4Var}, this, changeQuickRedirect, false, 2994, new Class[]{r4.class, z4.class}, Void.TYPE).isSupported && com.wifitutu.link.foundation.kernel.d.d().r().getForegrounding()) {
n.a(n.f65331a);
e.a.a(z4Var, null, 1, null);
}
}
@Override
public e0 mo1invoke(r4 r4Var, z4<r4> z4Var) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{r4Var, z4Var}, this, changeQuickRedirect, false, 2995, new Class[]{Object.class, Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a(r4Var, z4Var);
return e0.f58580a;
}
}
static {
n nVar = new n();
f65331a = nVar;
DEFAULT_NOTIFY_ID = lg0.i.a(a.f65336s);
sNotify1 = new b(nVar.r(), "AA_TAG1", "sm_lkr_ntf_hl_pr_chn_id_7355608", nVar.r());
alarmManager = lg0.i.a(f.f65350s);
}
public static final void a(n nVar) {
if (PatchProxy.proxy(new Object[]{nVar}, null, changeQuickRedirect, true, 2955, new Class[]{n.class}, Void.TYPE).isSupported) {
return;
}
nVar.m();
}
public static final void b(n nVar, Context context, Intent intent) {
if (PatchProxy.proxy(new Object[]{nVar, context, intent}, null, changeQuickRedirect, true, 2958, new Class[]{n.class, Context.class, Intent.class}, Void.TYPE).isSupported) {
return;
}
nVar.n(context, intent);
}
public static final void c(n nVar, ah0.a aVar) {
if (PatchProxy.proxy(new Object[]{nVar, aVar}, null, changeQuickRedirect, true, 2957, new Class[]{n.class, ah0.a.class}, Void.TYPE).isSupported) {
return;
}
nVar.o(aVar);
}
public static final void d(n nVar, Context context, String str) {
if (PatchProxy.proxy(new Object[]{nVar, context, str}, null, changeQuickRedirect, true, 2954, new Class[]{n.class, Context.class, String.class}, Void.TYPE).isSupported) {
return;
}
nVar.p(context, str);
}
public static final ss.b e(n nVar) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{nVar}, null, changeQuickRedirect, true, 2953, new Class[]{n.class}, ss.b.class);
return proxy.isSupported ? (ss.b) proxy.result : nVar.q();
}
public static final int f(n nVar) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{nVar}, null, changeQuickRedirect, true, 2952, new Class[]{n.class}, Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : nVar.r();
}
public static final void i(n nVar, Context context, Intent intent, b bVar, Runnable runnable) {
if (PatchProxy.proxy(new Object[]{nVar, context, intent, bVar, runnable}, null, changeQuickRedirect, true, 2956, new Class[]{n.class, Context.class, Intent.class, b.class, Runnable.class}, Void.TYPE).isSupported) {
return;
}
nVar.s(context, intent, bVar, runnable);
}
public static final void j(n nVar, Context context, Intent intent) {
if (PatchProxy.proxy(new Object[]{nVar, context, intent}, null, changeQuickRedirect, true, 2959, new Class[]{n.class, Context.class, Intent.class}, Void.TYPE).isSupported) {
return;
}
nVar.t(context, intent);
}
public final void l(Intent intent) {
if (PatchProxy.proxy(new Object[]{intent}, this, changeQuickRedirect, false, 2944, new Class[]{Intent.class}, Void.TYPE).isSupported) {
return;
}
d6.k(new e(intent));
}
public final void m() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2943, new Class[0], Void.TYPE).isSupported) {
return;
}
d6.k(g.f65351s);
}
public final void n(Context context, Intent intent) {
if (PatchProxy.proxy(new Object[]{context, intent}, this, changeQuickRedirect, false, 2942, new Class[]{Context.class, Intent.class}, Void.TYPE).isSupported) {
return;
}
d6.k(new h(context, intent));
}
public final void o(ah0.a<e0> fail) {
if (PatchProxy.proxy(new Object[]{fail}, this, changeQuickRedirect, false, 2950, new Class[]{ah0.a.class}, Void.TYPE).isSupported) {
return;
}
a.Companion companion = uj0.a.INSTANCE;
q6.d(uj0.c.p(BuildConstants.TYPE_STEP, uj0.d.f74492d), false, false, new i(fail), 6, null);
}
public final void p(Context context, String channel) {
if (PatchProxy.proxy(new Object[]{context, channel}, this, changeQuickRedirect, false, 2945, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) {
return;
}
d6.k(new j(channel, context));
}
public final ss.b q() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2941, new Class[0], ss.b.class);
return proxy.isSupported ? (ss.b) proxy.result : (ss.b) alarmManager.getValue();
}
public final int r() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2940, new Class[0], Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : ((Number) DEFAULT_NOTIFY_ID.getValue()).intValue();
}
@SuppressLint({"MissingPermission"})
public final void s(Context context, Intent intent, b notify, Runnable runnable) {
if (PatchProxy.proxy(new Object[]{context, intent, notify, runnable}, this, changeQuickRedirect, false, 2946, new Class[]{Context.class, Intent.class, b.class, Runnable.class}, Void.TYPE).isSupported) {
return;
}
PendingIntent activity = PendingIntent.getActivity(context, notify.getId(), intent, C.BUFFER_FLAG_FIRST_SAMPLE);
d6.k(new k(context, notify, activity));
a.Companion companion = uj0.a.INSTANCE;
q6.d(uj0.c.p(1, uj0.d.f74493e), false, false, new l(context, notify), 6, null);
new d(activity, runnable).run();
}
public final void t(Context context, Intent intent) {
if (PatchProxy.proxy(new Object[]{context, intent}, this, changeQuickRedirect, false, 2947, new Class[]{Context.class, Intent.class}, Void.TYPE).isSupported) {
return;
}
u0.w(context, intent, false, 2, null);
}
public final void u(Context context, Intent intent, ah0.a<e0> fail) {
if (PatchProxy.proxy(new Object[]{context, intent, fail}, this, changeQuickRedirect, false, 2948, new Class[]{Context.class, Intent.class, ah0.a.class}, Void.TYPE).isSupported) {
return;
}
z4 b11 = g.a.b(com.wifitutu.link.foundation.kernel.d.d().r().x(), null, o.f65377s, 1, null);
intent.setFlags(1352695808);
l(intent);
h4.l().y("FLOATPOP", m.f65363s);
t(context, intent);
o(new C1762n(context, intent, new c(context, intent), fail, b11));
}
}