mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Directly stream APK into install session
This commit is contained in:
@ -119,7 +119,7 @@ public class DownloadActivity extends Activity {
|
||||
runOnUiThread(onSuccess);
|
||||
} else {
|
||||
var receiver = APKInstall.register(this, BuildConfig.APPLICATION_ID, onSuccess);
|
||||
APKInstall.installapk(this, file);
|
||||
APKInstall.install(this, file);
|
||||
Intent intent = receiver.waitIntent();
|
||||
if (intent != null) startActivity(intent);
|
||||
}
|
||||
|
Reference in New Issue
Block a user