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

Commit 14395f81 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "SurfaceView: Reset window stopped state when attaching to window." into oc-dev

am: 97bcf59f

Change-Id: If55aff3522f664ad5edf7c282a211b5b65958c73
parents 52fe51d8 97bcf59f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -245,6 +245,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
        super.onAttachedToWindow();

        getViewRootImpl().addWindowStoppedCallback(this);
        mWindowStopped = false;

        mParent.requestTransparentRegion(this);
        mViewVisibility = getVisibility() == VISIBLE;