Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 334bfaf3 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

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
parent 09f573b5
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -36,12 +36,7 @@ public class QuickContactImageView extends ImageView {
    }

    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) {