+ Added ability to setup Wifi Assistant. - Removed 'Avoid poor connections' from WiFi Advance Settings. - Removed 'Optimize Wi-Fi' from WiFi Advance Settings. + Replaced checkboxes with switches in WifFI Advance Settings. + Added horizontal rule to seperate MAC/IP address text. Bug: 15698824 Change-Id: Ia319ff5fb2566854666a07d0e77c8816a49fd3d6
85 lines
3.2 KiB
XML
85 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2008 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.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:title="@string/wifi_advanced_titlebar">
|
|
|
|
<!-- android:dependency="enable_wifi" -->
|
|
<SwitchPreference
|
|
android:key="notify_open_networks"
|
|
android:title="@string/wifi_notify_open_networks"
|
|
android:summary="@string/wifi_notify_open_networks_summary"
|
|
android:persistent="false" />
|
|
|
|
<SwitchPreference
|
|
android:key="wifi_scan_always_available"
|
|
android:title="@string/wifi_scan_always_available"
|
|
android:summary="@string/wifi_scan_always_available_summary"
|
|
android:persistent="false" />
|
|
|
|
<SwitchPreference
|
|
android:key="wifi_assistant"
|
|
android:title="@string/wifi_automatically_manage_title"
|
|
android:summary="@string/wifi_assistant_setting_summary"
|
|
android:persistent="false" />
|
|
|
|
<ListPreference
|
|
android:key="sleep_policy"
|
|
android:title="@string/wifi_setting_sleep_policy_title"
|
|
android:persistent="false"
|
|
android:entries="@array/wifi_sleep_policy_entries"
|
|
android:entryValues="@array/wifi_sleep_policy_values" />
|
|
|
|
<ListPreference
|
|
android:key="frequency_band"
|
|
android:title="@string/wifi_setting_frequency_band_title"
|
|
android:summary="@string/wifi_setting_frequency_band_summary"
|
|
android:persistent="false"
|
|
android:entries="@array/wifi_frequency_band_entries"
|
|
android:entryValues="@array/wifi_frequency_band_values" />
|
|
|
|
<Preference
|
|
android:key="install_credentials"
|
|
android:title="@string/wifi_install_credentials"
|
|
android:persistent="false" />
|
|
|
|
<Preference
|
|
android:key="wifi_direct"
|
|
android:title="@string/wifi_menu_p2p"
|
|
android:persistent="false" />
|
|
|
|
<Preference
|
|
android:key="wps_push_button"
|
|
android:title="@string/wifi_menu_wps_pbc"
|
|
android:persistent="false" />
|
|
|
|
<Preference
|
|
android:key="wps_pin_entry"
|
|
android:title="@string/wifi_menu_wps_pin"
|
|
android:persistent="false" />
|
|
|
|
<Preference
|
|
android:key="mac_address"
|
|
android:title="@string/wifi_advanced_mac_address_title"
|
|
android:layout="@layout/mac_preference" />
|
|
|
|
<Preference
|
|
android:key="current_ip_address"
|
|
android:title="@string/wifi_advanced_ip_address_title"
|
|
android:layout="@layout/wifi_advance_layout" />
|
|
|
|
</PreferenceScreen>
|