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
		
			
				
	
	
		
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <!--
 | |
|   Copyright (C) 2017 The Android Open Source Project
 | |
| 
 | |
|   Licensed under the Apache License, Version 2.0 (the "License");
 | |
|   you may not use this file except in compliance with the License.
 | |
|   You may obtain a copy of the License at
 | |
| 
 | |
|        http://www.apache.org/licenses/LICENSE-2.0
 | |
| 
 | |
|   Unless required by applicable law or agreed to in writing, software
 | |
|   distributed under the License is distributed on an "AS IS" BASIS,
 | |
|   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
|   See the License for the specific language governing permissions and
 | |
|   limitations under the License.
 | |
|   -->
 | |
| 
 | |
| <resources>
 | |
|     <!-- Whether or not new device intro suggestion is supported for this device -->
 | |
|     <bool name="config_new_device_intro_suggestion_supported">true</bool>
 | |
|     <bool name="config_enableColorTemperature">true</bool>
 | |
|     <bool name="config_show_camera_laser_sensor">true</bool>
 | |
|     <bool name="config_show_connectivity_monitor">true</bool>
 | |
|     <bool name="config_display_recent_apps">true</bool>
 | |
|     <bool name="config_wifi_support_connected_mac_randomization">true</bool>
 | |
| </resources> |