Files
app_Settings/res/xml/satellite_setting.xml
tom hsu bb80fe2df1 [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
2025-02-14 06:40:10 -08:00

89 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2024 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="satellite_setting"
android:title="@string/satellite_setting"
settings:keywords="@string/keywords_satellite_setting">
<PreferenceCategory
android:key="key_category_about_satellite">
<com.android.settingslib.widget.TopIntroPreference
android:key="key_about_satellite_messaging"/>
</PreferenceCategory>
<PreferenceCategory
android:key="key_category_your_satellite_plan"
android:title="@string/category_title_your_satellite_plan">
<Preference
android:key="key_your_satellite_plan"
android:icon="?android:attr/textColorPrimary"/>
<Preference
android:key="key_your_satellite_data_plan"
android:icon="?android:attr/textColorPrimary"
settings:isPreferenceVisible="false"/>
</PreferenceCategory>
<PreferenceCategory
android:key="key_category_how_it_works"
android:title="@string/category_name_how_it_works"
android:clickable="false"
android:focusable="false">
<Preference
android:key="key_satellite_connection_guide"
android:title="@string/title_satellite_connection_guide"
android:summary="@string/summary_satellite_connection_guide"
android:icon="@drawable/ic_signal_cellular_nodata_24px"/>
<Preference
android:key="key_supported_service"
android:title="@string/title_supported_service"
android:summary="@string/summary_supported_service"
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"
android:selectable="false"
settings:searchable="false"/>
</PreferenceScreen>