Merge "Dismiss immersive mode overlay while in VR mode." into nyc-dev
am: 8ecf66fc83
* commit '8ecf66fc83e76165bea3cd408c687bd0b79c0552':
Dismiss immersive mode overlay while in VR mode.
Change-Id: I1ab8911349218071003ed4fa9231ea4b8647aa9e
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