Merge "[ProviderModel] Use category to separate physical SIM and e-SIM" into sc-dev

This commit is contained in:
Zoey Chen
2021-06-01 02:16:08 +00:00
committed by Android (Google) Code Review
12 changed files with 1366 additions and 4 deletions

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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:title="@string/provider_network_settings_title">
<PreferenceCategory
android:key="provider_model_sim_category"
android:title="@string/sim_category_title"
android:order="20"
settings:controller="com.android.settings.network.NetworkProviderSimsCategoryController"/>
<PreferenceCategory
android:key="provider_model_downloaded_sim_category"
android:title="@string/downloaded_sim_category_title"
android:order="25"
settings:controller=
"com.android.settings.network.NetworkProviderDownloadedSimsCategoryController"
settings:allowDividerAbove="true"/>
<com.android.settingslib.RestrictedPreference
android:key="add_more"
settings:isPreferenceVisible="false"
settings:userRestriction="no_config_mobile_networks"
settings:useAdminDisabledSummary="true"
settings:searchable="false"
android:title="@string/mobile_network_list_add_more"
android:icon="@drawable/ic_menu_add_activated_tint"
android:order="100">
<intent android:action="android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION">
<extra android:name="android.telephony.euicc.extra.FORCE_PROVISION"
android:value="true"/>
</intent>
</com.android.settingslib.RestrictedPreference>
</PreferenceScreen>