From b574177a56dcb196607c65a51050bc2bbcffc882 Mon Sep 17 00:00:00 2001 From: ostajic Date: Mon, 24 Aug 2020 08:09:30 +0200 Subject: [PATCH] removed thread.sleep and auto start of vanced --- .../manager/core/installer/RootSplitInstallerService.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/vanced/manager/core/installer/RootSplitInstallerService.kt b/app/src/main/java/com/vanced/manager/core/installer/RootSplitInstallerService.kt index 8a4b1839..930d3e48 100644 --- a/app/src/main/java/com/vanced/manager/core/installer/RootSplitInstallerService.kt +++ b/app/src/main/java/com/vanced/manager/core/installer/RootSplitInstallerService.kt @@ -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))