File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
core/java/com/android/internal/widget/multiwaveview Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ public void onAnimationEnd(Animator animator) {
114114 }
115115 };
116116
117+ private AnimatorListener mResetListenerWithPing = new AnimatorListenerAdapter () {
118+ public void onAnimationEnd (Animator animator ) {
119+ ping ();
120+ switchToState (STATE_IDLE , mWaveCenterX , mWaveCenterY );
121+ }
122+ };
123+
117124 private AnimatorUpdateListener mUpdateListener = new AnimatorUpdateListener () {
118125 public void onAnimationUpdate (ValueAnimator animation ) {
119126 invalidateGlobalRegion (mHandleDrawable );
@@ -421,7 +428,7 @@ private void doFinish() {
421428 "x" , mWaveCenterX ,
422429 "y" , mWaveCenterY ,
423430 "onUpdate" , mUpdateListener ,
424- "onComplete" , mResetListener );
431+ "onComplete" , mResetListenerWithPing );
425432 }
426433
427434 setGrabbedState (OnTriggerListener .NO_HANDLE );
You can’t perform that action at this time.
0 commit comments