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

Commit dda3dd56 authored by Quang Anh Luong's avatar Quang Anh Luong Committed by Quang Luong
Browse files

Gate dhcp hostname setting behind Wifi V API flag

DCHP hostname setting should only be shown if the feature flag for Wifi
V API is enabled.

Bug: 341981620
Test: manual
Change-Id: Iee3740db2513c7071c14361513f7e51199245af0
parent 1df39c3d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -311,7 +311,9 @@ public class WifiConfigController2 implements TextWatcher,
        mHiddenSettingsSpinner = mView.findViewById(R.id.hidden_settings);
        if (!mHideMeteredAndPrivacy && mWifiManager.isConnectedMacRandomizationSupported()) {
            mPrivacySettingsSpinner = mView.findViewById(R.id.privacy_settings);
            if (Flags.androidVWifiApi()) {
                mDhcpSettingsSpinner = mView.findViewById(R.id.dhcp_settings);
            }
            mView.findViewById(R.id.privacy_settings_fields).setVisibility(View.VISIBLE);
        }
        mHiddenSettingsSpinner.setOnItemSelectedListener(this);