Files
app_Settings/res/xml/data_usage_metered_prefs.xml
Fan Zhang 7d5c9ace64 Add test and fix null keys in search providers.
- Add keys to some screens.
- Remove dynamic saved network/turst agent from search provider.
- Remove dynamic print services from printsettings.

Bug: 69384409
Test: atest
Change-Id: I62dce27d52585badb2a8953a05084e35dbae2f7d
2017-11-16 12:57:45 -08:00

46 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 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:key="data_usage_metered_prefs"
android:title="@string/network_restrictions">
<PreferenceCategory
android:key="mobile"
android:title="@string/data_usage_metered_mobile"
android:persistent="false" />
<PreferenceCategory
android:key="wifi"
android:title="@string/data_usage_metered_wifi"
android:persistent="false">
<Preference
android:key="wifi_disabled"
android:summary="@string/data_usage_metered_wifi_disabled"
android:persistent="false"
android:selectable="false" />
</PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:title="@string/data_usage_metered_body"
android:key="footer_preference"
android:selectable="false" />
</PreferenceScreen>