Settings: Add battery and notification lights settings
Change-Id: Ia5f635d2a493a859068af3d6b7502cc6d3db5893
This commit is contained in:
committed by
Michael Bestas
parent
a61e80f580
commit
60c766b551
@@ -228,5 +228,10 @@
|
||||
android:summary="@string/notification_assistant_summary"
|
||||
settings:controller="com.android.settings.notification.NotificationAssistantPreferenceController"/>
|
||||
|
||||
<!-- Notification lights -->
|
||||
<lineageos.preference.LineagePartsPreference
|
||||
android:key="notification_lights"
|
||||
settings:requiresConfig="@*android:bool/config_intrusiveNotificationLed"
|
||||
settings:replacesKey="notification_pulse" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -68,6 +68,12 @@
|
||||
settings:keywords="@string/keywords_battery_adaptive_preferences" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- Battery light -->
|
||||
<lineageos.preference.LineagePartsPreference
|
||||
android:key="battery_lights"
|
||||
settings:requiresConfig="@*lineageos.platform:integer/config_deviceLightCapabilities"
|
||||
settings:requiresConfigMask="64" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="status_bar_show_battery_percent"
|
||||
android:title="@string/battery_percentage"
|
||||
|
||||
Reference in New Issue
Block a user