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

Commit ada4e166 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Replace get/setPendingIntentBackgroundActivityLaunchAllowedByPermission" into main

parents 0eafdad0 79300ffa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -332,7 +332,8 @@ public class TaskAnimationManager implements RecentsAnimationCallbacks.RecentsAn

        if (ENABLE_SHELL_TRANSITIONS) {
            final ActivityOptions options = ActivityOptions.makeBasic();
            options.setPendingIntentBackgroundActivityLaunchAllowedByPermission(true);
            options.setPendingIntentBackgroundActivityStartMode(
                    ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS);
            // Use regular (non-transient) launch for all apps page to control IME.
            if (!containerInterface.allowAllAppsFromOverview()) {
                options.setTransientLaunch();