summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-03-22 00:54:45 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-03-22 00:54:45 +0000
commitf6d8901e1ea7b967c4cd668f827cd026f5b3db8c (patch)
tree3c9c5d81d71239fcd9efd832a81b16f67a2266a9
parent475a4de16599fd2a027056b996c3e76fbe25e8f1 (diff)
parent5c8eb45a9bcb7bdc3761a803d120e564e7da4883 (diff)
Merge "Remove extra BAL overrides" into main
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DragAndDropPolicy.java4
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);