Merge "Disable WifiMacAddress preference on device without FEATURE_WIFI" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce849e65f9
@@ -59,7 +59,7 @@ public abstract class AbstractWifiMacAddressPreferenceController
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return true;
|
||||
return mWifiManager != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user