Use proper ImageView constructor
The ImageView constructor with 4 params was added in API level 21.
Since we always pass 0 as the 4th param (i.e., the constructor with
4 params are never called directly to institiate an object), we are
going to remove the constructor.
Bug: 25629359
Change-Id: I5e9189e5841e6655c1a0fe013bd0df589cd032dd
diff --git a/src/com/android/contacts/widget/QuickContactImageView.java b/src/com/android/contacts/widget/QuickContactImageView.java
index a8f0b10..f85fe16 100644
--- a/src/com/android/contacts/widget/QuickContactImageView.java
+++ b/src/com/android/contacts/widget/QuickContactImageView.java
@@ -36,12 +36,7 @@
}
public QuickContactImageView(Context context, AttributeSet attrs, int defStyleAttr) {
- this(context, attrs, defStyleAttr, 0);
- }
-
- public QuickContactImageView(Context context, AttributeSet attrs, int defStyleAttr,
- int defStyleRes) {
- super(context, attrs, defStyleAttr, defStyleRes);
+ super(context, attrs, defStyleAttr);
}
public void setTint(int color) {