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

Commit 9cdf4522 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Closes PiP menu on device lock

Bug: 141322738
Test: Expand PiP then device lock and unlock
Change-Id: I0ffd3265e779946bc4e87dd0558ea139eb680bb3
parent a904e8d2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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();
    }