Merge "Fix onCurrentVrActivityChanged callbacks."

This commit is contained in:
TreeHugger Robot
2017-03-23 01:02:08 +00:00
committed by Android (Google) Code Review

View File

@@ -725,10 +725,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;