Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed0af5f8 authored by Manish Singh's avatar Manish Singh
Browse files

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
parent 1c132994
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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] -->
+2 −1
Original line number Diff line number Diff line
@@ -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>