diff options
| author | 2024-03-21 20:52:02 +0000 | |
|---|---|---|
| committer | 2024-03-21 21:03:10 +0000 | |
| commit | 5c8eb45a9bcb7bdc3761a803d120e564e7da4883 (patch) | |
| tree | 0aa30e9c4e6eb22ce3f1485bdc977558bc5d3b66 | |
| parent | 15991295270919e62bb328c6d584ea567a4ac589 (diff) | |
Remove extra BAL overrides
Bug: 328861542
Test: Manual test with sample tab tearing app
Change-Id: Idfa2938f51d0513a6dad7b73712e96eb90b5e584
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java | 4 |
1 files changed, 0 insertions, 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); |