Merge "SurfaceControlViewHost: Let ViewRoot release control." into rvc-dev am: 1e15db9ce4 am: ca6c0c8075 am: 9e0b864391
Change-Id: I567c9c6a403aef154f39f86da69049e741604536
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