Merge "SurfaceControlViewHost: Let ViewRoot release control." into rvc-dev am: 1e15db9ce4 am: ca6c0c8075
Change-Id: I25dca57b5d608a3ff1e058806ecd51245f599a37
This commit is contained in:
@@ -272,8 +272,8 @@ public class SurfaceControlViewHost {
|
||||
* and render the object unusable.
|
||||
*/
|
||||
public void release() {
|
||||
// ViewRoot will release mSurfaceControl for us.
|
||||
mViewRoot.die(false /* immediate */);
|
||||
mSurfaceControl.release();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user