mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-23 11:45:11 +00:00
removed thread.sleep and auto start of vanced
This commit is contained in:
parent
bcf52d8173
commit
b574177a56
1 changed files with 3 additions and 3 deletions
|
@ -69,9 +69,9 @@ class RootSplitInstallerService: Service() {
|
|||
if (modApk != null) {
|
||||
if(overwriteBase(modApk, fileInfoList,vancedVersionCode))
|
||||
{
|
||||
val launchIntent = packageManager.getLaunchIntentForPackage("com.google.android.youtube")
|
||||
startActivity(launchIntent)
|
||||
Thread.sleep(500)
|
||||
//val launchIntent = packageManager.getLaunchIntentForPackage("com.google.android.youtube")
|
||||
//startActivity(launchIntent)
|
||||
//Thread.sleep(500)
|
||||
|
||||
with(localBroadcastManager) {
|
||||
sendBroadcast(Intent(HomeFragment.REFRESH_HOME))
|
||||
|
|
Loading…
Reference in a new issue