Adjust Wifi Privacy preference.
Show Wifi MAC Randomization preference in both "Add network" and "Join Network" flows. Bug: 1227787 Test: RunSettingsRoboTests Change-Id: Iff422eb870e661ceda5ae04f55de802a91f08aeb
This commit is contained in:
@@ -19,7 +19,6 @@ package com.android.settings.wifi;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Bundle;
|
||||
import android.util.FeatureFlagUtils;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
@@ -94,14 +93,6 @@ public class WifiDialog extends AlertDialog implements WifiConfigUiBase,
|
||||
if (mAccessPoint == null) {
|
||||
mController.hideForgetButton();
|
||||
}
|
||||
|
||||
if (FeatureFlagUtils.isEnabled(getContext(),
|
||||
com.android.settings.core.FeatureFlags.WIFI_MAC_RANDOMIZATION)) {
|
||||
View view = mView.findViewById(R.id.privacy_settings_fields);
|
||||
if (view != null) {
|
||||
view.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onRestoreInstanceState(Bundle savedInstanceState) {
|
||||
|
Reference in New Issue
Block a user