Add header to USB power options preference
Since the separators for the preference categories are no longer shown in Android, it makes sense to add a header for the power options category just like rest of the categories in USB Preferences. BUG=158466651 Test: manual. Change-Id: I18e2e8acfcb66e2601137c6718f8b8335776416c
This commit is contained in:
@@ -9981,6 +9981,10 @@
|
||||
<!-- Description at the footer of the default USB configuration window that describes how the setting works. -->
|
||||
<string name="usb_default_info">When another device is connected and your phone is unlocked, these settings will be applied. Only connect to trusted devices.</string>
|
||||
|
||||
<!-- The title used in USB Preferences which provides the user with the control over this
|
||||
device's power role. -->
|
||||
<string name="usb_power_title">Power options</string>
|
||||
|
||||
<!-- Settings item title for USB preference [CHAR LIMIT=35] -->
|
||||
<string name="usb_pref">USB</string>
|
||||
<!-- Settings screen title for USB preference [CHAR LIMIT=35] -->
|
||||
|
@@ -34,6 +34,7 @@
|
||||
android:title="@string/usb_use"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="usb_details_power_role"/>
|
||||
android:key="usb_details_power_role"
|
||||
android:title="@string/usb_power_title"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
Reference in New Issue
Block a user