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

Commit 7196a6bf authored by Ruben Brunk's avatar Ruben Brunk
Browse files

Fix onCurrentVrActivityChanged callbacks.

Bug: 36503317

Test: Use controller in a 3P VR application.

Change-Id: I1b11785077183c719e19f4f496677dba79e42dab
parent 2a1a66b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;