diff options
author | John Reck <jreck@google.com> | 2014-07-18 18:14:25 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-07-18 18:14:25 -0700 |
commit | 70fa543701b62bd947450ae15bd38a780a0f6cff (patch) | |
tree | b8720e5780c2f9997e39d73b2be63a4b946ac3df /InCallUI/src/com | |
parent | af947faa14e8c77fe4d3a90927d0f11b42eb7e3f (diff) |
Fix for API change
Change-Id: I81201bebc51d2203d7853c6e73f9a9d665c8c36e
Diffstat (limited to 'InCallUI/src/com')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index 5080da048..13852f9ac 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -20,7 +20,6 @@ import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; -import android.animation.ValueAnimator; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; @@ -732,7 +731,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr final Point size = new Point(); display.getSize(size); - final ValueAnimator valueAnimator = ViewAnimationUtils.createCircularReveal(view, + final Animator valueAnimator = ViewAnimationUtils.createCircularReveal(view, size.x / 2, size.y / 2, 0, Math.max(size.x, size.y)); valueAnimator.setDuration(mRevealAnimationDuration); return valueAnimator; |