• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:title="@string/wifi_configure_settings_preference_title">
21
22    <SwitchPreference
23        android:key="enable_wifi_wakeup"
24        android:title="@string/wifi_wakeup"
25        android:icon="@drawable/ic_auto_wifi"
26        android:summary="@string/wifi_wakeup_summary"
27        settings:controller="com.android.settings.wifi.WifiWakeupPreferenceController"/>
28
29    <SwitchPreference
30        android:key="notify_open_networks"
31        android:title="@string/wifi_notify_open_networks"
32        android:icon="@drawable/ic_open_wifi_notifications"
33        android:summary="@string/wifi_notify_open_networks_summary"
34        settings:keywords="@string/keywords_wifi_notify_open_networks"
35        settings:controller="com.android.settings.wifi.NotifyOpenNetworksPreferenceController"/>
36
37    <SwitchPreference
38        android:key="wifi_cellular_data_fallback"
39        android:title="@string/wifi_cellular_data_fallback_title"
40        android:summary="@string/wifi_cellular_data_fallback_summary"
41        settings:controller="com.android.settings.wifi.CellularFallbackPreferenceController" />
42
43    <Preference
44        android:key="install_credentials"
45        android:title="@string/wifi_install_credentials">
46        <intent
47            android:action="android.credentials.INSTALL"
48            android:targetPackage="com.android.certinstaller"
49            android:targetClass="com.android.certinstaller.CertInstallerMain">
50            <!-- Same value as CERTIFICATE_USAGE_WIFI in keystore/java/android/security/Credentials.java -->
51            <extra android:name="certificate_install_usage" android:value="wifi"/>
52        </intent>
53    </Preference>
54
55    <Preference
56        android:key="wifi_direct"
57        android:title="@string/wifi_menu_p2p"
58        android:fragment="com.android.settings.wifi.p2p.WifiP2pSettings" />
59
60</PreferenceScreen>
61