Merge "Disable splash screen for launches from widget." into sc-dev
This commit is contained in:
commit
97aaa6e5ae
1 file changed
+1
-1
@@ -71,7 +71,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
activityOptions.options.setPendingIntentLaunchFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
activityOptions.options.setPendingIntentLaunchFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
activityOptions.options.setSplashscreenStyle(SplashScreen.SPLASH_SCREEN_STYLE_ICON);
|
activityOptions.options.setSplashscreenStyle(SplashScreen.SPLASH_SCREEN_STYLE_EMPTY);
|
||||||
Object itemInfo = hostView.getTag();
|
Object itemInfo = hostView.getTag();
|
||||||
if (itemInfo instanceof ItemInfo) {
|
if (itemInfo instanceof ItemInfo) {
|
||||||
mLauncher.addLaunchCookie((ItemInfo) itemInfo, activityOptions.options);
|
mLauncher.addLaunchCookie((ItemInfo) itemInfo, activityOptions.options);
|
||||||
|
|||||||
Reference in new issue
Block a user