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

Commit d76074a4 authored by Robert Carr's avatar Robert Carr
Browse files

SurfaceView: Check correct OPAQUE flag for background visibility.

No explanation beyond: Typo.

Bug: 123644326
Test: Manual
Change-Id: I2c2cf9eb441fd92703189e5566d70c07b048373c
parent affa55b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -492,7 +492,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
        if (mBackgroundControl == null) {
            return;
        }
        if ((mSurfaceFlags & PixelFormat.OPAQUE) != 0) {
        if ((mSurfaceFlags & SurfaceControl.OPAQUE) != 0) {
            mBackgroundControl.show();
            mBackgroundControl.setLayer(Integer.MIN_VALUE);
        } else {