Merge "SurfaceControlViewHost: Let ViewRoot release control." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1e15db9ce4
@@ -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