summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author xshu <xshu@google.com> 2019-01-15 17:38:09 -0800
committer xshu <xshu@google.com> 2019-01-16 11:10:47 -0800
commit4334cc839625269c9a00652e8a7eb41c1b15104a (patch)
tree535a98526ef098b0fc84a4e62a4ff8aa3e03c964
parentbbb98bee0e13e558034368f80f11b4b8d7c85336 (diff)
Add MAC randomization feature flag
Add flags for OEMs Bug: 122920200 Test: Unit tests Change-Id: I717f0c7a3a07193aa8e08d544a67ea19290d7257
-rw-r--r--core/res/res/values/config.xml3
-rw-r--r--core/res/res/values/symbols.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index d40f01c7c960..08e7793922f1 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -699,6 +699,9 @@
for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) -->
<bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool>
+ <!-- Indicates that connected MAC randomization is supported on this device -->
+ <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool>
+
<!-- Flag indicating whether we should enable the automatic brightness.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">false</bool>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index a1ef0d5cc93b..181e0799e75c 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -1879,6 +1879,7 @@
<java-symbol type="bool" name="config_wifi_dual_band_support" />
<java-symbol type="bool" name="config_wifi_convert_apband_5ghz_to_any" />
<java-symbol type="bool" name="config_wifi_local_only_hotspot_5ghz" />
+ <java-symbol type="bool" name="config_wifi_connected_mac_randomization_supported" />
<java-symbol type="bool" name="config_wifi_fast_bss_transition_enabled" />
<java-symbol type="bool" name="config_wimaxEnabled" />
<java-symbol type="bool" name="show_ongoing_ime_switcher" />