Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eef52f73 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix VR current component changes being ignored."

parents 4351d952 90a8a80a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -680,10 +680,10 @@ public class VrManagerService extends SystemService implements EnabledComponentC
                }
                }
            }
            }


            mCurrentVrModeComponent = calling;
            if (calling != null && !Objects.equals(calling, mCurrentVrModeComponent)) {
            if (calling != null && !Objects.equals(calling, mCurrentVrModeComponent)) {
                sendUpdatedCaller = true;
                sendUpdatedCaller = true;
            }
            }
            mCurrentVrModeComponent = calling;


            if (mCurrentVrModeUser != userId) {
            if (mCurrentVrModeUser != userId) {
                mCurrentVrModeUser = userId;
                mCurrentVrModeUser = userId;