This adds a new boolean flag, config_show_wifi_settings, which when set to false will hide the "Wi-Fi" page in network & internet (there is no key value associated with this preference page). It will also hide nested pages from search results, such as Wi-Fi preferences. Bug: 62379554 Test: make RunSettingsRoboTests ROBOTEST_FILTER=ConfigureWifiSettingsTest and make RunSettingsRoboTests ROBOTEST_FILTER=WifiSettingsTest and make RunSettingsRoboTests ROBOTEST_FILTER=WifiMasterSwitchPreferenceControllerTest all pass. Change-Id: Iedc6bc272e0cb2b561c6bf25968e70f355aaaa8e
66 lines
2.9 KiB
XML
66 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2009 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 the dock settings are to be displayed for this device when docked -->
|
|
<bool name="has_dock_settings">false</bool>
|
|
<!-- Whether there is a boot sounds checkbox -->
|
|
<bool name="has_boot_sounds">false</bool>
|
|
<!-- Whether there is a silent mode checkbox -->
|
|
<bool name="has_silent_mode">true</bool>
|
|
<!-- Whether the DEPRECATED power control widget is enabled for this
|
|
device. Should be overridden for specific product builds. -->
|
|
<bool name="has_powercontrol_widget">false</bool>
|
|
|
|
<!-- Display additional System Update menu if true -->
|
|
<bool name="config_additional_system_update_setting_enable">false</bool>
|
|
|
|
<!-- Whether the bluetooth activation confirmation dialogs should be auto dismissed.
|
|
Can be overridden for specific product builds. -->
|
|
<bool name="auto_confirm_bluetooth_activation_dialog">false</bool>
|
|
|
|
<!-- Whether to show a preference item for the manual in About phone -->
|
|
<bool name="config_show_manual">false</bool>
|
|
<!-- Whether to show a preference item for regulatory information in About phone -->
|
|
<bool name="config_show_regulatory_info">false</bool>
|
|
|
|
<!-- Whether to show a preference item for mobile plan -->
|
|
<bool name="config_show_mobile_plan">true</bool>
|
|
|
|
<!-- Whether none security option is hide or not (country specific). -->
|
|
<bool name="config_hide_none_security_option">false</bool>
|
|
|
|
<!-- Whether swipe security option is hidden or not -->
|
|
<bool name="config_hide_swipe_security_option">false</bool>
|
|
|
|
<!--Whether help links are defined. -->
|
|
<bool name="config_has_help">false</bool>
|
|
|
|
<!-- Whether Wi-Fi settings should be shown or not.
|
|
This also controls whether Wi-fi related sub-settings (e.g. Wi-Fi preferences) will
|
|
surface in search results or not.-->
|
|
<bool name="config_show_wifi_settings">true</bool>
|
|
|
|
<!-- Whether location mode is available or not. -->
|
|
<bool name="config_location_mode_available">true</bool>
|
|
|
|
<!-- Whether wallpaper attribution should be shown or not. -->
|
|
<bool name="config_show_wallpaper_attribution">true</bool>
|
|
|
|
<!-- Whether default_home should be shown or not. -->
|
|
<bool name="config_show_default_home">true</bool>
|
|
</resources>
|