Change feature flag to correct flag

Sorry, I provided the wrong flag that was supposed to be fore p2p MAC
randomization. Changing to the correct flag now.

Bug: 127817791
Test: compile
Change-Id: I46828e17411372c5e347b4fd17d853fe95f024a4
This commit is contained in:
xshu
2019-03-13 16:37:25 -07:00
parent 93697136b7
commit 900465fde7
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ public class WifiPrivacyPreferenceController extends BasePreferenceController im
@Override
public int getAvailabilityStatus() {
return mContext.getResources().getBoolean(
com.android.internal.R.bool.config_wifi_p2p_mac_randomization_supported) ?
com.android.internal.R.bool.config_wifi_connected_mac_randomization_supported) ?
AVAILABLE : CONDITIONALLY_UNAVAILABLE;
}