正在查看: Minits v4.9.3.32 应用的 ReplicatorBroadcastReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Minits v4.9.3.32 应用的 ReplicatorBroadcastReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.xone.replicator;
import Na.j;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import com.xone.android.utils.Utils;
public final class ReplicatorBroadcastReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
char c;
String action = intent.getAction();
if (TextUtils.isEmpty(action)) {
j.a(" *** RPL: ReplicatorBroadcastReceiver.onReceive() invoked without action. Ignoring");
return;
}
try {
int hashCode = action.hashCode();
if (hashCode == -1875940650) {
if (action.equals("com.xone.replica.command.start")) {
c = 2;
}
c = 65535;
} else if (hashCode != -1454123155) {
if (hashCode == 798292259 && action.equals("android.intent.action.BOOT_COMPLETED")) {
c = 0;
}
c = 65535;
} else {
if (action.equals("android.intent.action.SCREEN_ON")) {
c = 1;
}
c = 65535;
}
if (c == 0) {
j.a(" *** RPL: ReplicatorBroadcastReceiver.onReceive() invoked because the device initial boot has been completed. Starting replicator");
Utils.k4(context.getApplicationContext(), "ReplicatorBroadcastReceiver", null, null);
} else if (c == 1) {
j.a(" *** RPL: ReplicatorBroadcastReceiver.onReceive() invoked because the screen is now on. Starting replicator");
Utils.k4(context.getApplicationContext(), "ReplicatorBroadcastReceiver", intent.getAction(), null);
} else {
if (c != 2) {
return;
}
j.a(" *** RPL: ReplicatorBroadcastReceiver.onReceive() invoked by an external source. Starting replicator");
Utils.k4(context.getApplicationContext(), "ReplicatorBroadcastReceiver", "com.xone.replica.command.start", null);
}
} catch (Exception e) {
e.printStackTrace();
}
}
}