Fix blank animation in "find the sensor" flow for fingerprint.
Fixes bug 26194530 Change-Id: I855b6f12a72c7489fae8fba249c55d4626b4a202
This commit is contained in:
@@ -119,6 +119,8 @@ public class FingerprintLocationAnimationVideoView extends TextureView
|
|||||||
public void stopAnimation() {
|
public void stopAnimation() {
|
||||||
if (mMediaPlayer != null && mMediaPlayer.isPlaying()) {
|
if (mMediaPlayer != null && mMediaPlayer.isPlaying()) {
|
||||||
mMediaPlayer.stop();
|
mMediaPlayer.stop();
|
||||||
|
mMediaPlayer.release();
|
||||||
|
mMediaPlayer = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user