Merge "Ignore repeated dismissals for clipboard" into tm-dev am: 3ffed0bca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18349555 Change-Id: Id54d80e6604d911654a0c5dbb9d96028a9a516d2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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