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

Commit 0a5f921c authored by Dominik Laskowski's avatar Dominik Laskowski
Browse files

SF: Ignore setActiveColorMode errors

ag/14236477 started propagating errors, but a test broke on cuttlefish
because it returns an invalid color mode. Partially revert that until
the root cause is fixed in b/195698395.

Bug: 195603989
Test: CredentialsTest#SetActiveColorModeTest on cuttlefish
Change-Id: I61b181049b7f9b190d200d8e753596963e47591d
parent c0464ae5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1328,7 +1328,9 @@ status_t SurfaceFlinger::setActiveColorMode(const sp<IBinder>& displayToken, Col
        return NO_ERROR;
    });

    return future.get();
    // TODO(b/195698395): Propagate error.
    future.wait();
    return NO_ERROR;
}

void SurfaceFlinger::setAutoLowLatencyMode(const sp<IBinder>& displayToken, bool on) {