正在查看: 万能钥匙 v1.1.23 应用的 C0510n.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 C0510n.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package qs;
import ah0.l;
import android.annotation.SuppressLint;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.AudioAttributes;
import android.net.Uri;
import android.os.Build;
import android.widget.RemoteViews;
import androidx.core.app.NotificationCompat;
import androidx.core.app.l;
import androidx.core.app.o;
import com.google.android.inner_exoplayer2.C;
import com.google.android.inner_exoplayer2.text.ttml.TtmlNode;
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 kotlin.jvm.internal.n;
import kotlin.jvm.internal.p;
import lg0.h;
import lg0.i;
import os.f2;
import os.g1;
import os.w0;
import ps.b0;
import qs.d6;
import qs.h4;
import qs.q6;
import qs.t;
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", TtmlNode.TAG_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, "o", "(Lah0/a;)V", "", "b", "Llg0/h;", "r", "()I", "DEFAULT_NOTIFY_ID", "c", "Lpq/n$b;", "sNotify1", "Landroid/app/PendingIntent;", "d", "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 C0510n {
public static final C0510n a;
public static final h DEFAULT_NOTIFY_ID;
public static final b sNotify1;
public static ChangeQuickRedirect changeQuickRedirect;
public static PendingIntent pendingIntent;
public static final 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 p implements ah0.a<Integer> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final a s = 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());
}
public Object 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", "b", "()I", "setId", "(I)V", "Ljava/lang/String;", "getTag", "()Ljava/lang/String;", "setTag", "(Ljava/lang/String;)V", "c", "setChannel", "d", "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 i, String str, String str2, int i2) {
this.id = i;
this.tag = str;
this.channel = str2;
this.msgId = i2;
}
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;", "b", "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;
}
C0510n.j(C0510n.a, 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;", "b", "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 e0 extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final a0 t;
public e0(a0 a0Var) {
super(0);
this.t = a0Var;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2965, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m344invoke();
return lg0.e0.a;
}
public final void m344invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2964, new Class[0], Void.TYPE).isSupported) {
return;
}
d.this.getPendingIntent().send();
this.t.a = 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 e0(a0Var));
if (a0Var.a) {
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 e0 extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Intent s;
@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 C0217a extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Intent s;
public C0217a(Intent intent) {
super(0);
this.s = intent;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2969, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m346invoke();
return lg0.e0.a;
}
public final void m346invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2968, new Class[0], Void.TYPE).isSupported) {
return;
}
Method declaredMethod = this.s.getClass().getDeclaredMethod("setForceStart", Boolean.TYPE);
Intent intent = this.s;
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 C0218b extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Intent s;
public C0218b(Intent intent) {
super(0);
this.s = intent;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2971, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m347invoke();
return lg0.e0.a;
}
public final void m347invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2970, new Class[0], Void.TYPE).isSupported) {
return;
}
Method declaredMethod = this.s.getClass().getDeclaredMethod("setIsVivoWidget", Boolean.TYPE);
Intent intent = this.s;
declaredMethod.setAccessible(true);
declaredMethod.invoke(intent, Boolean.TRUE);
}
}
public e0(Intent intent) {
super(0);
this.s = intent;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2967, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m345invoke();
return lg0.e0.a;
}
public final void m345invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2966, new Class[0], Void.TYPE).isSupported) {
return;
}
boolean j = w0.j(w0.a(f2.d()));
Class<?> cls = Integer.TYPE;
if (j) {
Method declaredMethod = this.s.getClass().getDeclaredMethod("addMiuiFlags", cls);
Intent intent = this.s;
declaredMethod.setAccessible(true);
declaredMethod.invoke(intent, 2);
return;
}
if (w0.i(w0.a(f2.d()))) {
d6.k(new C0217a(this.s));
d6.k(new C0218b(this.s));
} else if (w0.e(w0.a(f2.d()))) {
Method declaredMethod2 = this.s.getClass().getDeclaredMethod("setOplusFlags", cls);
Intent intent2 = this.s;
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 C0511f extends p implements ah0.a<ss.b> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final C0511f s = new C0511f();
public C0511f() {
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()));
}
public Object 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 C0512g extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final C0512g s = new C0512g();
public C0512g() {
super(0);
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2975, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m348invoke();
return lg0.e0.a;
}
public final void m348invoke() {
PendingIntent pendingIntent;
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2974, new Class[0], Void.TYPE).isSupported || (pendingIntent = C0510n.pendingIntent) == null) {
return;
}
C0510n.e(C0510n.a).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 C0513h extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context s;
public final Intent t;
public C0513h(Context context, Intent intent) {
super(0);
this.s = context;
this.t = intent;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2977, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m349invoke();
return lg0.e0.a;
}
public final void m349invoke() {
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2976, new Class[0], Void.TYPE).isSupported && Build.VERSION.SDK_INT >= 29) {
ChangeQuickRedirect changeQuickRedirect2 = C0510n.changeQuickRedirect;
Context context = this.s;
C0510n c0510n = C0510n.a;
PendingIntent activity = PendingIntent.getActivity(context, C0510n.f(c0510n), this.t, C.BUFFER_FLAG_FIRST_SAMPLE);
C0510n.e(c0510n).a(activity);
C0510n.e(c0510n).b(0, System.currentTimeMillis() + 200, activity);
C0510n.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 t3 extends p implements l<qs.t3, lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final ah0.a<lg0.e0> s;
@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 e0 extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final ah0.a<lg0.e0> s;
public e0(ah0.a<lg0.e0> aVar) {
super(0);
this.s = aVar;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2981, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m350invoke();
return lg0.e0.a;
}
public final void m350invoke() {
ah0.a<lg0.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().k() || (aVar = this.s) == null) {
return;
}
aVar.invoke();
}
}
public t3(ah0.a<lg0.e0> aVar) {
super(1);
this.s = aVar;
}
public final void a(qs.t3 t3Var) {
if (PatchProxy.proxy(new Object[]{t3Var}, this, changeQuickRedirect, false, 2978, new Class[]{qs.t3.class}, Void.TYPE).isSupported) {
return;
}
t.g(new e0(this.s));
}
public Object invoke(Object obj) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 2979, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a((qs.t3) obj);
return lg0.e0.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 C0514j extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final String s;
public final Context t;
public C0514j(String str, Context context) {
super(0);
this.s = str;
this.t = context;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2983, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m351invoke();
return lg0.e0.a;
}
public final void m351invoke() {
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.s, 2);
cVar.d("Default");
cVar.b("Default");
cVar.c(false);
cVar.g(false);
cVar.e(false);
cVar.f((Uri) null, (AudioAttributes) null);
o.g(this.t).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 C0515k extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context s;
public final b t;
public final PendingIntent u;
public C0515k(Context context, b bVar, PendingIntent pendingIntent) {
super(0);
this.s = context;
this.t = bVar;
this.u = pendingIntent;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2985, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m352invoke();
return lg0.e0.a;
}
public final void m352invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2984, new Class[0], Void.TYPE).isSupported) {
return;
}
C0510n.d(C0510n.a, this.s, this.t.getChannel());
RemoteViews remoteViews = new RemoteViews(this.s.getPackageName(), sq.d.layout_ntf);
NotificationCompat.Builder builder = new NotificationCompat.Builder(this.s, this.t.getChannel());
Context context = this.s;
PendingIntent pendingIntent = this.u;
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((long[]) null);
builder.setSound((Uri) null);
builder.setDefaults(8);
o.g(this.s).i(this.t.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 C0516l extends p implements ah0.l<qs.t3, lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context s;
public final b t;
public C0516l(Context context, b bVar) {
super(1);
this.s = context;
this.t = bVar;
}
public final void a(qs.t3 t3Var) {
if (PatchProxy.proxy(new Object[]{t3Var}, this, changeQuickRedirect, false, 2986, new Class[]{qs.t3.class}, Void.TYPE).isSupported) {
return;
}
o.g(this.s).b(this.t.getId());
}
public Object invoke(Object obj) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 2987, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a((qs.t3) obj);
return lg0.e0.a;
}
}
@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 p implements ah0.a<Object> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final m s = new m();
public m() {
super(0);
}
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 C0517n extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context s;
public final Intent t;
public final c u;
public final ah0.a<lg0.e0> v;
public final z4<qs.r4> w;
@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 p implements ah0.a<Object> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final a s = new a();
public a() {
super(0);
}
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 C0219b extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final Context s;
public final Intent t;
public final ah0.a<lg0.e0> u;
public final z4<qs.r4> v;
@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 p implements ah0.a<Object> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final a s = new a();
public a() {
super(0);
}
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 C0220b extends p implements ah0.a<lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final ah0.a<lg0.e0> s;
public final z4<qs.r4> t;
public C0220b(ah0.a<lg0.e0> aVar, z4<qs.r4> z4Var) {
super(0);
this.s = aVar;
this.t = z4Var;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2993, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m355invoke();
return lg0.e0.a;
}
public final void m355invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2992, new Class[0], Void.TYPE).isSupported) {
return;
}
ah0.a<lg0.e0> aVar = this.s;
if (aVar != null) {
aVar.invoke();
}
e.a.a(this.t, (f2) null, 1, (Object) null);
}
}
public C0219b(Context context, Intent intent, ah0.a<lg0.e0> aVar, z4<qs.r4> z4Var) {
super(0);
this.s = context;
this.t = intent;
this.u = aVar;
this.v = z4Var;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2991, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m354invoke();
return lg0.e0.a;
}
public final void m354invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2990, new Class[0], Void.TYPE).isSupported) {
return;
}
h4.l().y("FLOATPOP", a.s);
C0510n c0510n = C0510n.a;
Context context = this.s;
Object clone = this.t.clone();
n.g(clone, "null cannot be cast to non-null type android.content.Intent");
C0510n.b(c0510n, context, (Intent) clone);
C0510n.c(c0510n, new C0220b(this.u, this.v));
}
}
public C0517n(Context context, Intent intent, c cVar, ah0.a<lg0.e0> aVar, z4<qs.r4> z4Var) {
super(0);
this.s = context;
this.t = intent;
this.u = cVar;
this.v = aVar;
this.w = z4Var;
}
public Object invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2989, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
m353invoke();
return lg0.e0.a;
}
public final void m353invoke() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2988, new Class[0], Void.TYPE).isSupported) {
return;
}
h4.l().y("FLOATPOP", a.s);
C0510n c0510n = C0510n.a;
Context context = this.s;
Object clone = this.t.clone();
n.g(clone, "null cannot be cast to non-null type android.content.Intent");
C0510n.i(c0510n, context, (Intent) clone, C0510n.sNotify1, this.u);
C0510n.c(c0510n, new C0219b(this.s, this.t, this.v, this.w));
}
}
@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 r4 extends p implements ah0.p<qs.r4, z4<qs.r4>, lg0.e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public static final r4 s = new r4();
public r4() {
super(2);
}
public final void a(qs.r4 r4Var, z4<qs.r4> z4Var) {
if (!PatchProxy.proxy(new Object[]{r4Var, z4Var}, this, changeQuickRedirect, false, 2994, new Class[]{qs.r4.class, z4.class}, Void.TYPE).isSupported && com.wifitutu.link.foundation.kernel.d.d().r().k()) {
C0510n.a(C0510n.a);
e.a.a(z4Var, (f2) null, 1, (Object) null);
}
}
public Object invoke(Object obj, Object obj2) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj, obj2}, this, changeQuickRedirect, false, 2995, new Class[]{Object.class, Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a((qs.r4) obj, (z4) obj2);
return lg0.e0.a;
}
}
static {
C0510n c0510n = new C0510n();
a = c0510n;
DEFAULT_NOTIFY_ID = i.a(a.s);
sNotify1 = new b(c0510n.r(), "AA_TAG1", "sm_lkr_ntf_hl_pr_chn_id_7355608", c0510n.r());
alarmManager = i.a(C0511f.s);
}
public static final void a(C0510n c0510n) {
if (PatchProxy.proxy(new Object[]{c0510n}, null, changeQuickRedirect, true, 2955, new Class[]{C0510n.class}, Void.TYPE).isSupported) {
return;
}
c0510n.m();
}
public static final void b(C0510n c0510n, Context context, Intent intent) {
if (PatchProxy.proxy(new Object[]{c0510n, context, intent}, null, changeQuickRedirect, true, 2958, new Class[]{C0510n.class, Context.class, Intent.class}, Void.TYPE).isSupported) {
return;
}
c0510n.n(context, intent);
}
public static final void c(C0510n c0510n, ah0.a aVar) {
if (PatchProxy.proxy(new Object[]{c0510n, aVar}, null, changeQuickRedirect, true, 2957, new Class[]{C0510n.class, ah0.a.class}, Void.TYPE).isSupported) {
return;
}
c0510n.o(aVar);
}
public static final void d(C0510n c0510n, Context context, String str) {
if (PatchProxy.proxy(new Object[]{c0510n, context, str}, null, changeQuickRedirect, true, 2954, new Class[]{C0510n.class, Context.class, String.class}, Void.TYPE).isSupported) {
return;
}
c0510n.p(context, str);
}
public static final ss.b e(C0510n c0510n) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{c0510n}, null, changeQuickRedirect, true, 2953, new Class[]{C0510n.class}, ss.b.class);
return proxy.isSupported ? (ss.b) proxy.result : c0510n.q();
}
public static final int f(C0510n c0510n) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{c0510n}, null, changeQuickRedirect, true, 2952, new Class[]{C0510n.class}, Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : c0510n.r();
}
public static final void i(C0510n c0510n, Context context, Intent intent, b bVar, Runnable runnable) {
if (PatchProxy.proxy(new Object[]{c0510n, context, intent, bVar, runnable}, null, changeQuickRedirect, true, 2956, new Class[]{C0510n.class, Context.class, Intent.class, b.class, Runnable.class}, Void.TYPE).isSupported) {
return;
}
c0510n.s(context, intent, bVar, runnable);
}
public static final void j(C0510n c0510n, Context context, Intent intent) {
if (PatchProxy.proxy(new Object[]{c0510n, context, intent}, null, changeQuickRedirect, true, 2959, new Class[]{C0510n.class, Context.class, Intent.class}, Void.TYPE).isSupported) {
return;
}
c0510n.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 e0(intent));
}
public final void m() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 2943, new Class[0], Void.TYPE).isSupported) {
return;
}
d6.k(C0512g.s);
}
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 C0513h(context, intent));
}
public final void o(ah0.a<lg0.e0> fail) {
if (PatchProxy.proxy(new Object[]{fail}, this, changeQuickRedirect, false, 2950, new Class[]{ah0.a.class}, Void.TYPE).isSupported) {
return;
}
a.a aVar = uj0.a.b;
q6.d(uj0.c.p(BuildConstants.TYPE_STEP, uj0.d.d), false, false, new t3(fail), 6, (Object) 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 C0514j(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 C0515k(context, notify, activity));
a.a aVar = uj0.a.b;
q6.d(uj0.c.p(1, uj0.d.e), false, false, new C0516l(context, notify), 6, (Object) 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, (Object) null);
}
public final void u(Context context, Intent intent, ah0.a<lg0.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 b2 = g.a.b(com.wifitutu.link.foundation.kernel.d.d().r().x(), (f2) null, r4.s, 1, (Object) null);
intent.setFlags(1352695808);
l(intent);
h4.l().y("FLOATPOP", m.s);
t(context, intent);
o(new C0517n(context, intent, new c(context, intent), fail, b2));
}
}