From 5c8eb45a9bcb7bdc3761a803d120e564e7da4883 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Thu, 21 Mar 2024 20:52:02 +0000 Subject: Remove extra BAL overrides Bug: 328861542 Test: Manual test with sample tab tearing app Change-Id: Idfa2938f51d0513a6dad7b73712e96eb90b5e584 --- .../Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java b/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java index 43dd66d88747..6a7d297e83e5 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java @@ -310,10 +310,6 @@ public class DragAndDropPolicy { | FLAG_ACTIVITY_MULTIPLE_TASK); final Bundle opts = baseActivityOpts.toBundle(); - // Put BAL flags to avoid activity start aborted. - opts.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED, true); - opts.putBoolean(KEY_PENDING_INTENT_BACKGROUND_ACTIVITY_ALLOWED_BY_PERMISSION, true); - mStarter.startIntent(session.launchableIntent, session.launchableIntent.getCreatorUserHandle().getIdentifier(), null /* fillIntent */, position, opts); -- cgit v1.2.3-59-g8ed1b