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

Commit 19866e2a authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Don't show starting window for overlay activities

Since they are just overlaying other activities in the task.

Change-Id: I5d9b8e22c9858e282fc36ed4c3f7aff9f9b7654d
Fixes: 37199644
Test: manual
parent f9db6d3b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2130,6 +2130,11 @@ final class ActivityRecord extends ConfigurationContainer implements AppWindowCo
        if (mWindowContainerController == null) {
            return;
        }
        if (mTaskOverlay) {
            // We don't show starting window for overlay activities.
            return;
        }

        final CompatibilityInfo compatInfo =
                service.compatibilityInfoForPackageLocked(info.applicationInfo);
        final boolean shown = mWindowContainerController.addStartingWindow(packageName, theme,