[Satellite Settings] Show device's app info on Satellite settings page.
- Shows device apps' info up to 3 on Satellite settings' page. - Add a new page to show all device's app info with Satellite supported. Flag: com.android.internal.telephony.flags.satellite_25q4_apis Fix: b/395813844 Test: atest pass Change-Id: Ibd5e1c74b636639082ec9477f2b6796bcbc8340d
This commit is contained in:
@@ -12607,6 +12607,12 @@
|
||||
<string name="description_satellite_setting_messaging">satellite messaging</string>
|
||||
<!-- Title for notifying user's account be able to use data transmission of Satellite" [CHAR_LIMIT=NONE] -->
|
||||
<string name="title_have_satellite_data_plan">Use of data is included with your account</string>
|
||||
<!-- Category title for Satellite supported apps info [CHAR LIMIT=60] -->
|
||||
<string name="category_title_satellite_supported_apps">Supported apps on your phone</string>
|
||||
<!-- Title for a entry to start apps list page with Satellite service supported. [CHAR LIMIT=60] -->
|
||||
<string name="title_satellite_supported_app_list_entry">see all apps</string>
|
||||
<!-- Title for a page of apps list page with Satellite service supported. [CHAR LIMIT=60] -->
|
||||
<string name="title_satellite_supported_app_list_page">Supported apps on your phone</string>
|
||||
|
||||
<!-- Title for Apn settings in mobile network settings [CHAR LIMIT=60] -->
|
||||
<string name="mobile_network_apn_title">Access Point Names</string>
|
||||
|
||||
@@ -62,6 +62,23 @@
|
||||
android:icon="@drawable/ic_android_satellite_24px"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="key_category_satellite_apps"
|
||||
android:title="@string/category_title_satellite_supported_apps"
|
||||
settings:isPreferenceVisible="false"
|
||||
settings:controller="com.android.settings.network.telephony.SatelliteAppListCategoryController"
|
||||
settings:searchable="false">
|
||||
|
||||
<!-- See all satellite apps -->
|
||||
<Preference
|
||||
android:key="key_see_all_satellite_apps"
|
||||
android:title="@string/title_satellite_supported_app_list_entry"
|
||||
android:icon="@drawable/ic_chevron_right_24dp"
|
||||
android:fragment="com.android.settings.network.telephony.SatelliteAppListFragment"
|
||||
android:order="5"
|
||||
settings:searchable="false"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="satellite_setting_extra_info_footer_pref"
|
||||
android:layout="@layout/satellite_setting_more_information_layout"
|
||||
|
||||
21
res/xml/satellite_settings_apps_list.xml
Normal file
21
res/xml/satellite_settings_apps_list.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (C) 2025 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.
|
||||
-->
|
||||
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/tools"
|
||||
android:key="key_satellite_app_list"
|
||||
android:title="@string/title_satellite_supported_app_list_page">
|
||||
</androidx.preference.PreferenceScreen>
|
||||
Reference in New Issue
Block a user