Merge "PiP: Safeguard in calling on menu view in case it's not created."

This commit is contained in:
Ben Lin
2020-11-24 19:10:09 +00:00
committed by Android (Google) Code Review

View File

@@ -239,7 +239,9 @@ public class PipMenuActivityController {
+ " callers=\n" + Debug.getCallers(5, " "));
}
maybeCreateSyncApplier();
if (!maybeCreateSyncApplier()) {
return;
}
mPipMenuView.showMenu(menuState, stackBounds, allowMenuTimeout, willResizeMenu, withDelay,
showResizeHandle);