Merge "Fix videoPreference doesn't play after swipe out of screen"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b45b235c1c
@@ -98,6 +98,7 @@ class MediaAnimationController implements VideoPreference.AnimationController {
|
||||
@Override
|
||||
public boolean onSurfaceTextureDestroyed(SurfaceTexture surfaceTexture) {
|
||||
preview.setVisibility(View.VISIBLE);
|
||||
mSurface = null;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user