Fix blank animation in "find the sensor" flow for fingerprint.

Fixes bug 26194530

Change-Id: I855b6f12a72c7489fae8fba249c55d4626b4a202
This commit is contained in:
Jim Miller
2015-12-14 20:01:42 -08:00
parent c1f72f9169
commit 931901186a

View File

@@ -119,6 +119,8 @@ public class FingerprintLocationAnimationVideoView extends TextureView
public void stopAnimation() {
if (mMediaPlayer != null && mMediaPlayer.isPlaying()) {
mMediaPlayer.stop();
mMediaPlayer.release();
mMediaPlayer = null;
}
}