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

Commit ce2c1983 authored by Corey Tabaka's avatar Corey Tabaka
Browse files

surfaceflinger: disable VR mode while SELinux issues are resolved.

Temporarily disable VR mode support while SELinux policy issues are
rectified.

Bug: 35319396
Test: build; flash; run
Change-Id: I218afb6f9bff21980de184596471f8ec673af2e6
parent 4ec48ac4
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1266,7 +1266,8 @@ void SurfaceFlinger::onMessageReceived(int32_t what) {
    ATRACE_CALL();
    ATRACE_CALL();
    switch (what) {
    switch (what) {
        case MessageQueue::INVALIDATE: {
        case MessageQueue::INVALIDATE: {
            updateVrMode();
            // TODO(eieio): Disabled until SELinux issues are resolved.
            //updateVrMode();


            bool frameMissed = !mHadClientComposition &&
            bool frameMissed = !mHadClientComposition &&
                    mPreviousPresentFence != Fence::NO_FENCE &&
                    mPreviousPresentFence != Fence::NO_FENCE &&