Merge "SurfaceView: Reset window stopped state when attaching to window." into oc-dev
am: 97bcf59fce
Change-Id: If55aff3522f664ad5edf7c282a211b5b65958c73
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user