Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee44c4dc authored by Vadim Caen's avatar Vadim Caen
Browse files

Disable splash screen for launches from widget.

The transition from a widget to the splash screen icon feels
odd because of the difference in shapes. Disable for S and rework that
in T.

Test: Manually tested with clock and Calendar
Bug: 197504657
Change-Id: Ia375885af967d6ad282dcc7325ad905731c8734d
parent 0a2076e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);