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

Commit 900465fd authored by xshu's avatar xshu
Browse files

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
parent 93697136
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ public class WifiConfigController implements TextWatcher,
        mHiddenSettingsSpinner = mView.findViewById(R.id.hidden_settings);
        mPrivacySettingsSpinner = mView.findViewById(R.id.privacy_settings);
        if (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)) {
            View privacySettingsLayout = mView.findViewById(R.id.privacy_settings_fields);
            privacySettingsLayout.setVisibility(View.VISIBLE);
        }
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }