splash: handle internal intents fix

This commit is contained in:
Yuriy Liskov
2024-09-03 03:49:19 +03:00
parent a3e9664277
commit 0b30e821ae
2 changed files with 2 additions and 2 deletions

View File

@@ -365,6 +365,6 @@ public class SplashPresenter extends BasePresenter<SplashView> {
boolean isInternalIntent = intent.getBooleanExtra(GlobalConstants.INTERNAL_INTENT, false);
viewManager.enablePlayerOnlyMode(!isInternalIntent || GeneralData.instance(getContext()).isReturnToLauncherEnabled());
viewManager.enablePlayerOnlyMode(!isInternalIntent && GeneralData.instance(getContext()).isReturnToLauncherEnabled());
}
}

View File

@@ -57,7 +57,7 @@ public class AppUtil {
intent.setAction(Intent.ACTION_VIEW);
intent.setData(Uri.parse(url));
intent.setClassName(getAppPackageName(), getBootstrapClassName());
intent.putExtra(GlobalConstants.INTERNAL_INTENT, true);
//intent.putExtra(GlobalConstants.INTERNAL_INTENT, true);
return intent;
}