Merge "Fix onCurrentVrActivityChanged callbacks."
This commit is contained in:
committed by
Android (Google) Code Review
commit
85843be89c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user