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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user