Merge "Closes PiP menu on device lock"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f4717a5990
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user