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

Commit acd93d2f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set MAC address only when the preference exists."

parents d433d2cd ac7330d1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -90,6 +90,10 @@ public abstract class AbstractWifiMacAddressPreferenceController
            macAddress = macAddresses[0];
        }

        if (mWifiMacAddress == null) {
            return;
        }

        if (TextUtils.isEmpty(macAddress) || macAddress.equals(WifiInfo.DEFAULT_MAC_ADDRESS)) {
            mWifiMacAddress.setSummary(R.string.status_unavailable);
        } else {