Merge "Show Hotspot informations in Network details settings" into main

This commit is contained in:
Weng Su
2023-08-29 03:55:12 +00:00
committed by Android (Google) Code Review
10 changed files with 721 additions and 45 deletions

View File

@@ -2063,6 +2063,21 @@
<!-- Wifi details preference category title for IPv6 information -->
<string name="wifi_details_ipv6_address_header">IPv6 addresses</string>
<!-- Hotspot device details preference category title in Network details [CHAR LIMIT=NONE]-->
<string name="hotspot_device_details_category">Hotspot device details</string>
<!-- Internet source preference in Hotspot device details preference category [CHAR LIMIT=NONE]-->
<string name="hotspot_device_details_internet_source">Internet source</string>
<!-- Wi-Fi summary in Internet source preference [CHAR LIMIT=NONE]-->
<string name="internet_source_wifi">Wi\u2011Fi</string>
<!-- Mobile data summary in Internet source preference [CHAR LIMIT=NONE]-->
<string name="internet_source_mobile_data">Mobile data</string>
<!-- Ethernet summary in Internet source preference [CHAR LIMIT=NONE]-->
<string name="internet_source_ethernet">Ethernet</string>
<!-- Hotspot device details preference category title in Network details [CHAR LIMIT=NONE]-->
<string name="hotspot_connection_category">Hotspot connection</string>
<!-- Connection strength preference in Hotspot connection preference category [CHAR LIMIT=NONE]-->
<string name="hotspot_connection_strength">Connection strength</string>
<!-- Wifi saved access points. Used as a label under the shortcut icon that goes to Wifi saved access points. [CHAR LIMIT=20] -->
<string name="wifi_saved_access_points_label">Saved networks</string>
<!-- Tab title for showing subscribed WiFi access points. [CHAR LIMIT=20] -->

View File

@@ -40,6 +40,30 @@
android:key="buttons"
android:selectable="false"/>
<!-- Hotspot device details category -->
<PreferenceCategory
android:key="hotspot_device_details_category"
android:title="@string/hotspot_device_details_category"
settings:isPreferenceVisible="false">
<Preference
android:key="hotspot_device_details_internet_source"
android:title="@string/hotspot_device_details_internet_source"
android:selectable="false"
settings:enableCopying="true"/>
<Preference
android:key="hotspot_device_details_battery"
android:title="@string/power_usage_summary_title"
android:selectable="false"
settings:enableCopying="true"/>
</PreferenceCategory>
<!-- Hotspot connection category -->
<PreferenceCategory
android:key="hotspot_connection_category"
android:title="@string/hotspot_connection_category"
settings:isPreferenceVisible="false">
</PreferenceCategory>
<!-- General Details Preferences -->
<Preference
android:key="signal_strength"