Last active
October 15, 2023 06:59
-
-
Save t4kemyh4nd/a2450048f99688c22362eef95226deaf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final void installWebApk(String packageName, int version, String title, String token, Callback callback, boolean z) { | |
boolean z2; | |
Object obj = ThreadUtils.a; | |
Bundle bundle = new Bundle(); | |
bundle.putInt("version_number", version); | |
bundle.putString("title", title); | |
bundle.putParcelable("notification_intent", new Intent()); | |
bundle.putString("wam_token", token); | |
processor processorVar = new processor(new token_process(this, packageName, bundle), new callback_func(this, packageName, callback), packageName, z); | |
this.hashmap.put(packageName, processorVar); | |
y71 y71Var = this.f16589b; | |
if (y71Var == null) { | |
z2 = true; | |
if (y71Var == null && !this.bool) { | |
Intent intent = new Intent("com.google.android.finsky.BIND_PLAY_INSTALL_SERVICE"); | |
intent.setPackage("com.android.vending"); | |
try { | |
z2 = this.context.bindService(intent, this.serviceConnection, 1); | |
this.bool = z2; | |
} catch (SecurityException e) { | |
Log.w("cr_PlayInstall", "Failed to connect to play install service.", e); | |
} | |
} | |
if (z2) { | |
m5100d(-20, 0, packageName); | |
return; | |
} | |
return; | |
} | |
processorVar.f1293a.c(dj.e); | |
return; | |
z2 = false; | |
if (z2) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment