diff options
author | John Reck <jreck@google.com> | 2014-07-19 01:59:15 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-17 17:59:02 +0000 |
commit | 64e7a8b15cb66e75600497386b1754c7bc6f70b0 (patch) | |
tree | bf27f96aad74910294804df8a18133c88f8027b7 | |
parent | 1fa45e8803f29183e9e9246627367e60d081f5d1 (diff) | |
parent | 70fa543701b62bd947450ae15bd38a780a0f6cff (diff) |
Merge "Fix for API change" into lmp-dev
-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; |