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

Commit f5d99fa7 authored by Adrian Roos's avatar Adrian Roos
Browse files

Revert "Do not start VrManagerService if VR is not supported"

This reverts commit af1eda26.
Bug: 112064298
Change-Id: Ie7912c055e8e27250b0404e337813c0ee670b1de
parent 82254ae3
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -794,9 +794,6 @@ public final class SystemServer {
        boolean isWatch = context.getPackageManager().hasSystemFeature(
                PackageManager.FEATURE_WATCH);

        boolean enableVrService = context.getPackageManager().hasSystemFeature(
                PackageManager.FEATURE_VR_MODE_HIGH_PERFORMANCE);

        // For debugging RescueParty
        if (Build.IS_DEBUGGABLE && SystemProperties.getBoolean("debug.crash_system", false)) {
            throw new RuntimeException();
@@ -930,7 +927,7 @@ public final class SystemServer {
                traceLog.traceEnd();
            }, START_HIDL_SERVICES);

            if (!isWatch && enableVrService) {
            if (!isWatch) {
                traceBeginAndSlog("StartVrManagerService");
                mSystemServiceManager.startService(VrManagerService.class);
                traceEnd();