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

Commit d1dae54f authored by Arc Wang's avatar Arc Wang Committed by Android (Google) Code Review
Browse files

Merge "[Wi-Fi] Implement getDialogMetricsCategory in WifiSettings2"

parents 41ece633 5814737a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -621,6 +621,16 @@ public class WifiSettings2 extends RestrictedSettingsFragment
        mDialogWifiEntryKey = null;
    }

    @Override
    public int getDialogMetricsCategory(int dialogId) {
        switch (dialogId) {
            case WIFI_DIALOG_ID:
                return SettingsEnums.DIALOG_WIFI_AP_EDIT;
            default:
                return 0;
        }
    }

    /** Called when the state of Wifi has changed. */
    @Override
    public void onWifiStateChanged() {