Merge "Follow up to "Add modified API to send more information to VrCore"" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-07-25 13:54:25 +00:00
committed by Android (Google) Code Review

View File

@@ -779,7 +779,8 @@ public class VrManagerService extends SystemService implements EnabledComponentC
} }
if ((calling != null || mPersistentVrModeEnabled) if ((calling != null || mPersistentVrModeEnabled)
&& !Objects.equals(calling, mCurrentVrModeComponent)) { && !Objects.equals(calling, mCurrentVrModeComponent)
|| mRunning2dInVr != running2dInVr) {
sendUpdatedCaller = true; sendUpdatedCaller = true;
} }
mCurrentVrModeComponent = calling; mCurrentVrModeComponent = calling;