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

Commit b844956d authored by Ruben Brunk's avatar Ruben Brunk
Browse files

Fix NPE in dumpsys logs.

Bug: 67460310
Bug: 66967700

Test: adb shell dumpsys vrmanager

Change-Id: I008717663dd5ae4fe99ca62f631794a56ca2eb12
parent d675f51c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -582,7 +582,7 @@ public class VrManagerService extends SystemService implements EnabledComponentC
            pw.println("Persistent VR mode is currently: " +
            pw.println("Persistent VR mode is currently: " +
                    ((mPersistentVrModeEnabled) ? "enabled" : "disabled"));
                    ((mPersistentVrModeEnabled) ? "enabled" : "disabled"));
            pw.println("Currently bound VR listener service: "
            pw.println("Currently bound VR listener service: "
                    + ((mCurrentVrService == null)
                    + ((mCurrentVrCompositorService == null)
                    ? "None" : mCurrentVrCompositorService.getComponent().flattenToString()));
                    ? "None" : mCurrentVrCompositorService.getComponent().flattenToString()));
            pw.println("Currently bound VR compositor service: "
            pw.println("Currently bound VR compositor service: "
                    + ((mCurrentVrCompositorService == null)
                    + ((mCurrentVrCompositorService == null)