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

Commit 90a8a80a authored by Zak Cohen's avatar Zak Cohen
Browse files

Fix VR current component changes being ignored.

Bug: 35723429
Test: built, run on device and verified that controller works
Change-Id: I7467f893ef313145d7aa555285dae60cb7ec3cf2
parent 38a65f6c
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;