Merge "Ignore repeated dismissals for clipboard" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ffed0bca8
@@ -551,6 +551,9 @@ public class ClipboardOverlayController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void animateOut() {
|
private void animateOut() {
|
||||||
|
if (mExitAnimator != null && mExitAnimator.isRunning()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Animator anim = getExitAnimation();
|
Animator anim = getExitAnimation();
|
||||||
anim.addListener(new AnimatorListenerAdapter() {
|
anim.addListener(new AnimatorListenerAdapter() {
|
||||||
private boolean mCancelled;
|
private boolean mCancelled;
|
||||||
|
|||||||
Reference in New Issue
Block a user