Merge "Fix VR current component changes being ignored."

This commit is contained in:
TreeHugger Robot
2017-02-25 00:55:56 +00:00
committed by Android (Google) Code Review

View File

@@ -680,10 +680,10 @@ public class VrManagerService extends SystemService implements EnabledComponentC
}
}
mCurrentVrModeComponent = calling;
if (calling != null && !Objects.equals(calling, mCurrentVrModeComponent)) {
sendUpdatedCaller = true;
}
mCurrentVrModeComponent = calling;
if (mCurrentVrModeUser != userId) {
mCurrentVrModeUser = userId;