0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-27 13:33:00 +00:00

removed thread.sleep and auto start of vanced

This commit is contained in:
ostajic 2020-08-24 08:09:30 +02:00
parent bcf52d8173
commit b574177a56

View file

@ -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))