Fix NPE in dumpsys logs.
Bug: 67460310 Bug: 66967700 Test: adb shell dumpsys vrmanager Change-Id: I008717663dd5ae4fe99ca62f631794a56ca2eb12
This commit is contained in:
@@ -582,7 +582,7 @@ public class VrManagerService extends SystemService implements EnabledComponentC
|
||||
pw.println("Persistent VR mode is currently: " +
|
||||
((mPersistentVrModeEnabled) ? "enabled" : "disabled"));
|
||||
pw.println("Currently bound VR listener service: "
|
||||
+ ((mCurrentVrService == null)
|
||||
+ ((mCurrentVrCompositorService == null)
|
||||
? "None" : mCurrentVrCompositorService.getComponent().flattenToString()));
|
||||
pw.println("Currently bound VR compositor service: "
|
||||
+ ((mCurrentVrCompositorService == null)
|
||||
|
||||
Reference in New Issue
Block a user