Cherish: Pulse and Ambient notification bars [2/2]

Add Pulse and Ambient Display notification bars

Change-Id: I96755ced4d4ff676cfe6b59adfcdbe19b36a3a1d
This commit is contained in:
kldoc
2019-11-02 14:42:05 +08:00
committed by Hưng Phan
parent c1a7e34994
commit 818a7e1757
2 changed files with 8 additions and 0 deletions

View File

@@ -634,4 +634,6 @@
<string name="pulse_ambient_light_duration">Edge light pulse duration</string>
<string name="edgelight_left">Left Edge</string>
<string name="edgelight_right">Right Edge</string>
<string name="ambient_notification_light_enabled_title">Always on ambient lights on notification</string>
<string name="ambient_notification_light_enabled_sumary">Show Always On light bars when receiving a notification</string>
</resources>

View File

@@ -18,6 +18,12 @@
android:title="@string/pulse_ambient_light_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="ambient_notification_light_enabled"
android:title="@string/ambient_notification_light_enabled_title"
android:summary="@string/ambient_notification_light_enabled_sumary"
android:defaultValue="false" />
<PreferenceCategory
android:title="@string/edgelight_left" >