Add dev option for enhanced mac randomization

This toggle will affect client mode mac randomization only.
When toggled on, during association to networks that have MAC
randomization turned on, a more random MAC (as opposed to persistent
MAC per-network) would be used.

Bug: 151983183
Test: Manual
Change-Id: I4affade362644037e649ac6cf93e6871a81058bc
This commit is contained in:
xshu
2020-03-24 18:11:55 -07:00
parent 6f16992d3c
commit d6506e8540
4 changed files with 184 additions and 0 deletions

View File

@@ -275,6 +275,11 @@
android:title="@string/wifi_scan_throttling"
android:summary="@string/wifi_scan_throttling_summary" />
<SwitchPreference
android:key="wifi_enhanced_mac_randomization"
android:title="@string/wifi_enhanced_mac_randomization"
android:summary="@string/wifi_enhanced_mac_randomization_summary" />
<SwitchPreference
android:key="mobile_data_always_on"
android:title="@string/mobile_data_always_on"