diff options
| author | 2019-07-19 18:21:49 +0000 | |
|---|---|---|
| committer | 2019-07-19 18:21:49 +0000 | |
| commit | 570937f46fb8ff12e249f1195404ae24feb8a132 (patch) | |
| tree | be70699373986ca0745e8ce738152df04d217133 | |
| parent | 939a91061fa3debc1423b11ab24de50f9620d9c4 (diff) | |
| parent | 792f89ff2604da1657840122445f618802e05636 (diff) | |
Merge "Suppress startActivity warning for PipMenuActivity"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java b/packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java index 46d53e410725..14459d6b8111 100644 --- a/packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java +++ b/packages/SystemUI/src/com/android/systemui/pip/phone/PipMenuActivityController.java @@ -414,6 +414,7 @@ public class PipMenuActivityController { if (pinnedStackInfo != null && pinnedStackInfo.taskIds != null && pinnedStackInfo.taskIds.length > 0) { Intent intent = new Intent(mContext, PipMenuActivity.class); + intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.putExtra(EXTRA_CONTROLLER_MESSENGER, mMessenger); intent.putExtra(EXTRA_ACTIONS, resolveMenuActions()); if (stackBounds != null) { |