其他
App隐藏大师绕过密码与多开分析
public void afterTextChanged(Editable editable) {
if (Calculator.this.f6590w && editable != null && C3154h.m10228a(editable.length()) && PinCodeCertifier.m10216a((Context) Calculator.this).mo23413a(editable.toString())) {
Calculator.this.m10160b();
}
Calculator.this.m10155a(CalculatorState.INPUT);
Calculator.this.f6588u.mo23401a((CharSequence) editable, (C3137a) Calculator.this);
}
public boolean mo23413a(String str) {//这个判断密码,f6652c就是我们设的密码
return this.f6652c != null && this.f6652c.equals(EncodeUtils.m4661a(str));
}
com.prism.hider.vault.calculator.Calculator.b()V = m10160b
public void m10160b() {
if (getIntent() == null || getIntent().getExtras() == null || !getIntent().getExtras().getBoolean(f6568a)) {
m10167e();
return;
}
Log.d(f6570j, getIntent().toString());
finish();
}
private void m10167e() {
String str = f6570j;
StringBuilder sb = new StringBuilder();
sb.append("GlobalVaultListener :");
sb.append(GlobalVaultListener.f6648a);
Log.d(str, sb.toString());
if (GlobalVaultListener.f6648a != null) {
GlobalVaultListener.f6648a.mo23188c(this);//mo23188c是一个接口实现,好像跟intent无关
} else {
Log.d(f6570j, "GlobalVaultListener Not Found");
}
this.f6592y = false;
finish();
}
private void m9886a(View view, AppInfo appInfo, Launcher launcher, DialogInterface dialogInterface) {
AppInfo appInfo2 = appInfo;
Launcher launcher2 = launcher;
Workspace workspace = launcher.getWorkspace();
int[] iArr = new int[2];
long[] jArr = {-1};
Iterator it = workspace.getScreenOrder().iterator();
while (true) {
if (!it.hasNext()) {
break;
}
long longValue = ((Long) it.next()).longValue();
String str = f6338a;
StringBuilder sb = new StringBuilder();
sb.append("screenid:");
sb.append(longValue);
Log.d(str, sb.toString());
if (launcher2.getCellLayout((long) -100, longValue).findCellForSpan(iArr, 1, 1)) {
jArr[0] = longValue;
break;
}
}
if (jArr[0] < 0) {
workspace.addExtraEmptyScreen();
jArr[0] = workspace.commitExtraEmptyScreen();
}
long j = (long) -100;
CellLayout cellLayout = launcher2.getCellLayout(j, jArr[0]);
String str2 = f6338a;
StringBuilder sb2 = new StringBuilder();
sb2.append("targetScreen:");
sb2.append(jArr[0]);
sb2.append(" targetx:");
sb2.append(iArr[0]);
sb2.append(" targety:");
sb2.append(iArr[1]);
Log.d(str2, sb2.toString());
ShortcutInfo makeShortcut = new PromisedGuestAppInfo(appInfo2).makeShortcut();//这里应该就是通过appInfo2创建新的app与shortcut图标
View createShortcut = launcher2.createShortcut(cellLayout, makeShortcut);//把创建的shortcut图标放到launcher2,也就是自己的launch里
launcher.getModelWriter().addOrMoveItemInDatabase(makeShortcut, j, jArr[0], iArr[0], iArr[1]);
makeShortcut.container = j;
makeShortcut.cellX = iArr[0];
makeShortcut.cellY = iArr[1];
workspace.addInScreen(createShortcut, makeShortcut);
GuestAppStateExtension.m9874a().mo23238b().mo23268a(appInfo2);
dialogInterface.dismiss();
workspace.post(new Runnable(jArr) {
private final /* synthetic */ long[] f$1;
{
this.f$1 = r2;
}
public final void run() {
Workspace.this.moveToScreen(this.f$1[0]);
}
});
}
com.prism.hider.b.l.a(Native Method)
com.prism.hider.b.l.a(ItemClickHandlerExtensionImpl.java:205)
com.prism.hider.b.l.lambda$1v3PIwaoDBWd6OM-CRLs-RNzmUQ(Unknown Source:0)
com.prism.hider.b.-$$Lambda$l$1v3PIwaoDBWd6OM-CRLs-RNzmUQ.onClick(Unknown Source:10)
com.prism.hider.ui.a.a(AppOperateDialog.java:93)
com.prism.hider.ui.a.lambda$OTuIeTAl3vf4RmjQk_3g0AXegkk(Unknown Source:0)
com.prism.hider.ui.-$$Lambda$a$OTuIeTAl3vf4RmjQk_3g0AXegkk.onClick(Unknown Source:2)
android.view.View.performClick(View.java:6294)
android.view.View$PerformClick.run(View.java:24770)
android.os.Handler.handleCallback(Handler.java:790)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loop(Looper.java:164)
android.app.ActivityThread.main(ActivityThread.java:6494)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
public PromisedGuestAppInfo(AppInfo appInfo) {
super(appInfo);
this.packageName = ExtensionPkgUtils.m9976a(appInfo.packageName);// m9976a修改包名和组件名
this.componentName = new ComponentName(ExtensionPkgUtils.m9976a(this.componentName.getPackageName()), this.componentName.getClassName());
this.intent = new Intent("android.intent.action.MAIN").addCategory("android.intent.category.LAUNCHER").setComponent(this.componentName).setFlags(270532608);
}
private static final String f6410b = "gaia_guest_.";
public static String m9976a(String str) {
StringBuilder sb = new StringBuilder();
sb.append(f6410b);// f6410b = "gaia_guest_.";
sb.append(str);
return sb.toString();
}
看雪ID:挤蹭菌衣
https://bbs.pediy.com/user-877073.htm
推荐文章++++
好书推荐