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

Commit c30c8fd2 authored by Ruben Brunk's avatar Ruben Brunk
Browse files

Dismiss immersive mode overlay while in VR mode.

Bug: 28052143
Change-Id: I750753c72cb8d41bf91c108e8fc645750fbf9c45
parent a63e1325
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -380,6 +380,10 @@ public class ImmersiveModeConfirmation {
        @Override
        public void onVrStateChanged(boolean enabled) throws RemoteException {
            mVrModeEnabled = enabled;
            if (mVrModeEnabled) {
                mHandler.removeMessages(H.SHOW);
                mHandler.sendEmptyMessage(H.HIDE);
            }
        }
    };
}