Merge "Dismiss immersive mode overlay while in VR mode." into nyc-dev am: 8ecf66fc83
am: 2b699f0fe0
* commit '2b699f0fe065ee9d4a7a3c14bebae88c3505ba2f':
Dismiss immersive mode overlay while in VR mode.
Change-Id: Ib38d654dea478622bfa1cda2e7a58b71c27e5492
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user