Fix bug in KeyPreviewChoreographer.dismissKeyPreview
Bug: 12979147 Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
This commit is contained in:
parent
2089afd257
commit
7e9b0b42bf
1 changed files with 2 additions and 1 deletions
|
@ -101,10 +101,11 @@ public final class KeyPreviewChoreographer {
|
||||||
if (tag instanceof KeyPreviewAnimations) {
|
if (tag instanceof KeyPreviewAnimations) {
|
||||||
final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag;
|
final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag;
|
||||||
animation.startDismiss();
|
animation.startDismiss();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
// Dismiss preview without animation.
|
// Dismiss preview without animation.
|
||||||
|
mShowingKeyPreviewTextViews.remove(key);
|
||||||
if (tag instanceof Animator) {
|
if (tag instanceof Animator) {
|
||||||
((Animator)tag).cancel();
|
((Animator)tag).cancel();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue