Merge "Replace get/setPendingIntentBackgroundActivityLaunchAllowedByPermission" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ada4e16644
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user