Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 792f89ff authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Suppress startActivity warning for PipMenuActivity

PipMenuActivity is essentially the start of a new task in stack.
See also com.android.systemui.pip.tv.PipManager

Bug: 137778464
Test: adb logcat | grep ActivityTaskManager
Change-Id: I701e247810c8857e40c9d42bc350eaecee34c63a
parent ba7fb6a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {