Dismiss immersive mode overlay while in VR mode.
Bug: 28052143 Change-Id: I750753c72cb8d41bf91c108e8fc645750fbf9c45
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