diff --git a/VirtualApp/app/src/main/java/io/virtualapp/home/HomePresenterImpl.java b/VirtualApp/app/src/main/java/io/virtualapp/home/HomePresenterImpl.java index 98a8ad525..89b016a3f 100644 --- a/VirtualApp/app/src/main/java/io/virtualapp/home/HomePresenterImpl.java +++ b/VirtualApp/app/src/main/java/io/virtualapp/home/HomePresenterImpl.java @@ -5,6 +5,7 @@ import com.lody.virtual.GmsSupport; import com.lody.virtual.client.core.VirtualCore; +import com.lody.virtual.helper.utils.VLog; import com.lody.virtual.os.VUserInfo; import com.lody.virtual.os.VUserManager; import com.lody.virtual.remote.InstallResult; @@ -127,7 +128,7 @@ class AddResult { PackageAppData data = addResult.appData; data.isLoading = true; mView.addAppToLauncher(data); - handleOptApp(data, info.packageName, false); + handleOptApp(data, info.packageName, true); } else { MultiplePackageAppData data = new MultiplePackageAppData(addResult.appData, addResult.userId); data.isLoading = true; diff --git a/VirtualApp/app/src/main/java/io/virtualapp/home/repo/AppRepository.java b/VirtualApp/app/src/main/java/io/virtualapp/home/repo/AppRepository.java index 9a18223c0..308a5df87 100644 --- a/VirtualApp/app/src/main/java/io/virtualapp/home/repo/AppRepository.java +++ b/VirtualApp/app/src/main/java/io/virtualapp/home/repo/AppRepository.java @@ -149,7 +149,7 @@ private List convertPackageInfoToAppData(Context context, List