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

Commit 8296054d 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

Change-Id: Ia2d5ff30183d8588319dc4aa24f5512f3db75e55
parents 9a1b6b0e 3946916d
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;