Avoid importing Contacts
am: ae671bb858
* commit 'ae671bb858074d4dcf237ce3cc652374fed9c416':
Avoid importing Contacts
diff --git a/src/com/android/phone/common/compat/PathInterpolatorCompat.java b/src/com/android/phone/common/compat/PathInterpolatorCompat.java
index 7697bf3..d6f075c 100644
--- a/src/com/android/phone/common/compat/PathInterpolatorCompat.java
+++ b/src/com/android/phone/common/compat/PathInterpolatorCompat.java
@@ -18,15 +18,14 @@
import android.graphics.Path;
import android.graphics.PathMeasure;
+import android.os.Build;
import android.view.animation.Interpolator;
import android.view.animation.PathInterpolator;
-import com.android.contacts.common.compat.CompatUtils;
-
public class PathInterpolatorCompat {
public static Interpolator create(float controlX1, float controlY1,
float controlX2, float controlY2) {
- if (CompatUtils.isLollipopCompatible()) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
return new PathInterpolator(controlX1, controlY1, controlX2, controlY2);
}
return new PathInterpolatorBase(controlX1, controlY1, controlX2, controlY2);