+4
−0
src/com/android/settings/development/WifiConnectedMacRandomizationPreferenceController.java
0 → 100644
+93
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add a toggle in developers options to turn on/off connected MAC randomization for devices that support the feature. This toggle will be only available on devices that support dynamic MAC address change and indicated as so in config_wifi_support_connected_mac_randomization. The toggle changes Settings Global value WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, which the Wifi Framework will listen for to start/stop randomizing MAC addresses. Bug: 67908229 Bug: 71548421 Test: RunSettingsRoboTests, manual testing checking that the toggle comes up and changes global settings value. Change-Id: Ia4749cd0a1e7466333bd8a93088d6340f6567e25