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

Commit b031e8e7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SurfaceView: Check correct OPAQUE flag for background visibility."

parents aed477d5 d76074a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -492,7 +492,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
        if (mBackgroundControl == null) {
        if (mBackgroundControl == null) {
            return;
            return;
        }
        }
        if ((mSurfaceFlags & PixelFormat.OPAQUE) != 0) {
        if ((mSurfaceFlags & SurfaceControl.OPAQUE) != 0) {
            mBackgroundControl.show();
            mBackgroundControl.show();
            mBackgroundControl.setLayer(Integer.MIN_VALUE);
            mBackgroundControl.setLayer(Integer.MIN_VALUE);
        } else {
        } else {