正在查看: Aptoide v9.22.5.3 应用的 RootInstallNotificationEventReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Aptoide v9.22.5.3 应用的 RootInstallNotificationEventReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package cm.aptoide.pt.install;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import cm.aptoide.pt.AptoideApplication;
import cm.aptoide.pt.crashreports.CrashReport;
public class RootInstallNotificationEventReceiver extends BroadcastReceiver {
public static final String ROOT_INSTALL_DISMISS_ACTION = "cm.aptoide.pt.ROOT_INSTALL_DISMISS_ACTION";
public static final String ROOT_INSTALL_RETRY_ACTION = "cm.aptoide.pt.ROOT_INSTALL_RETRY_ACTION";
private static final String TAG = RootInstallNotificationEventReceiver.class.getSimpleName();
private CrashReport crashReport;
private InstallManager installManager;
static void lambda$onReceive$0() {
}
public void a(Throwable th) {
this.crashReport.log(th);
}
static void lambda$onReceive$2() {
}
public void b(Throwable th) {
this.crashReport.log(th);
}
@Override
public void onReceive(Context context, Intent intent) {
this.installManager = ((AptoideApplication) context.getApplicationContext()).getInstallManager();
this.crashReport = CrashReport.getInstance();
if (intent == null || intent.getAction() == null) {
return;
}
String action = intent.getAction();
action.hashCode();
if (!action.equals(ROOT_INSTALL_DISMISS_ACTION)) {
if (!action.equals(ROOT_INSTALL_RETRY_ACTION)) {
return;
} else {
this.installManager.retryTimedOutInstallations().I(new rx.m.a() {
@Override
public final void call() {
RootInstallNotificationEventReceiver.lambda$onReceive$0();
}
}, new rx.m.b() {
@Override
public final void call(Object obj) {
RootInstallNotificationEventReceiver.this.a((Throwable) obj);
}
});
}
}
this.installManager.cleanTimedOutInstalls().I(new rx.m.a() {
@Override
public final void call() {
RootInstallNotificationEventReceiver.lambda$onReceive$2();
}
}, new rx.m.b() {
@Override
public final void call(Object obj) {
RootInstallNotificationEventReceiver.this.b((Throwable) obj);
}
});
}
}