[Provider Model] New xml of Calls and SMS
Bug: 172053880 Test: manual Change-Id: I4c434e19c9986d9a07f0e96e9aaeaac3a289b9a1
This commit is contained in:
@@ -12345,4 +12345,17 @@
|
||||
<string name="bluetooth_setting_on">On</string>
|
||||
<!-- Switch text for bluetooth feature being off [CHAR LIMIT=NONE] -->
|
||||
<string name="bluetooth_setting_off">Off</string>
|
||||
|
||||
<!-- Provider Model: Calls and SMS controllers settings screen, item title to go into the Calls and SMS settings -->
|
||||
<string name="calls_and_sms">Calls & SMS</string>
|
||||
<!-- Provider Model: Name for call settings category [CHAR LIMIT=NONE] -->
|
||||
<string name="calls_and_sms_category">Wi\u2011Fi Calling</string>
|
||||
<!-- Provider Model: Summary for calling preference -->
|
||||
<string name="calls_sms_wfc_summary">Make and receive calls over non-carrier networks like Wi\u2011Fi</string>
|
||||
<!-- Provider Model: Label for footnote on calling preference -->
|
||||
<string name="calls_sms_footnote">Wi-Fi calling allows you to make and receive calls over non-carrier networks such as some Wi\u2011Fi networks.\n\nCross-SIM calling allows you to leverage the mobile data of a SIM to make and receive calls from another SIM.</string>
|
||||
<!-- Provider Model: Calls preference title -->
|
||||
<string name="calls_preference_title">Calls</string>
|
||||
<!-- Provider Model: SMS preference title -->
|
||||
<string name="sms_preference_title">SMS</string>
|
||||
</resources>
|
||||
|
51
res/xml/network_provider_calls_sms.xml
Normal file
51
res/xml/network_provider_calls_sms.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2020 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"
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:key="calls_and_sms_screen"
|
||||
android:title="@string/calls_and_sms">
|
||||
|
||||
<ListPreference
|
||||
android:key="calls_preference"
|
||||
android:title="@string/calls_preference_title"
|
||||
settings:controller="com.android.settings.network.telephony.CallsDefaultSubscriptionController"
|
||||
android:order="10"
|
||||
/>
|
||||
|
||||
<ListPreference
|
||||
android:key="sms_preference"
|
||||
android:title="@string/sms_preference_title"
|
||||
settings:controller="com.android.settings.network.telephony.SmsDefaultSubscriptionController"
|
||||
android:order="15"
|
||||
/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="provider_model_calling_category"
|
||||
android:title="@string/calls_and_sms_category"
|
||||
android:order="20"
|
||||
settings:controller="com.android.settings.network.telephony.CallingPreferenceCategoryController"
|
||||
settings:allowDividerAbove="true"
|
||||
/>
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="calls_sms_footer"
|
||||
android:title="@string/calls_sms_footnote"
|
||||
android:selectable="false"
|
||||
settings:searchable="false"
|
||||
/>
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user