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

Commit 198aa2bc authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev am: 3946916d

am: 8296054d

Change-Id: Iaf35647355f48300199d888eb884a23750c0059b
parents 04e794c1 8296054d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -454,7 +454,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
    }

    private void updateOpaqueFlag() {
        if (PixelFormat.formatHasAlpha(mRequestedFormat)) {
        if (!PixelFormat.formatHasAlpha(mRequestedFormat)) {
            mSurfaceFlags |= SurfaceControl.OPAQUE;
        } else {
            mSurfaceFlags &= ~SurfaceControl.OPAQUE;