Skip to content

Commit 663d4b0

Browse files
dmd79eldainosor
authored andcommitted
Notification light: Add an overlay for RGB led [2/2]
Add this <!-- Multicolor Led Support --> <bool name="config_multicolorled">false</bool> in your device tree overlay/frameworks/base/core/res/res/values/config.xml to remove colorpicker from notification settings Change-Id: I9136919267dd815b958cb63766f4e90911d7cdba
1 parent 21788a8 commit 663d4b0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

core/res/res/values/bootleg_config.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
Used to decide if the user can change the colors -->
8787
<bool name="config_multiColorBatteryLed">true</bool>
8888

89+
<!-- Does the notification LED support multiple colors?
90+
Used to decide if the user can change the colors -->
91+
<bool name="config_multicolorled">true</bool>
92+
8993
<!-- Do the battery/notification LEDs support pulsing?
9094
Used to decide if we show pulse settings -->
9195
<bool name="config_ledCanPulse">true</bool>

core/res/res/values/bootleg_symbols.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,7 @@
8989
<java-symbol type="bool" name="config_intrusiveBatteryLed" />
9090
<java-symbol type="bool" name="config_multiColorBatteryLed" />
9191
<java-symbol type="bool" name="config_ledCanPulse" />
92+
93+
<!-- Custom notification light -->
94+
<java-symbol type="bool" name="config_multicolorled" />
9295
</resources>

0 commit comments

Comments
 (0)