Merge "Closes PiP menu on device lock"

This commit is contained in:
TreeHugger Robot
2019-09-26 19:33:44 +00:00
committed by Android (Google) Code Review

View File

@@ -247,6 +247,9 @@ public class PipMenuActivity extends Activity {
protected void onStop() {
super.onStop();
// In cases such as device lock, hide and finish it so that it can be recreated on the top
// next time it starts, see also {@link #onUserLeaveHint}
hideMenu();
cancelDelayedFinish();
}