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

Commit 5eadb343 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Merge "SurfaceView: Fix missing override for SurfaceControl proxy" into...

Merge "Merge "SurfaceView: Fix missing override for SurfaceControl proxy" into oc-dev am: 42b3610a am: 2fa5800d" into oc-dr1-dev-plus-aosp
am: 3c63cef6

Change-Id: I949b09e52f82ae947789489cff5cffc94d438a68
parents 6c0ecb6b 3c63cef6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1196,6 +1196,12 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
            mBackgroundControl.deferTransactionUntil(handle, frame);
        }

        @Override
        public void deferTransactionUntil(Surface barrier, long frame) {
            super.deferTransactionUntil(barrier, frame);
            mBackgroundControl.deferTransactionUntil(barrier, frame);
        }

        void updateBackgroundVisibility() {
            if (mOpaque && mVisible) {
                mBackgroundControl.show();