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

Commit 6962c0cb authored by Sundeep Ghuman's avatar Sundeep Ghuman
Browse files

Change Wifi Picker icons to colorControlNormal.

Change-Id: I63e7e3399931790f85b62857983932b32f2e1831
Bugs: b/38001656
Test: Visual inspection of color change (open wifi settings).
parent 62643ddd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ import android.graphics.drawable.Drawable;
import android.graphics.drawable.StateListDrawable;
import android.net.NetworkBadging;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiManager;
import android.os.Looper;
import android.os.UserHandle;
import android.support.v7.preference.Preference;
@@ -164,7 +163,7 @@ public class AccessPointPreference extends Preference {
        TronUtils.logWifiSettingsBadge(context, mWifiBadge);
        Drawable drawable = NetworkBadging.getWifiIcon(level, mWifiBadge, getContext().getTheme());
        if (!mForSavedNetworks && drawable != null) {
            drawable.setTint(Utils.getColorAccent(getContext()));
            drawable.setTint(Utils.getColorAttr(context, android.R.attr.colorControlNormal));
            setIcon(drawable);
        } else {
            safeSetDefaultIcon();