Skip to content

Commit

Permalink
dlx: enable option to set button brightness
Browse files Browse the repository at this point in the history
Change-Id: I003133324abef1631300efdff30755fa0db8fdac
  • Loading branch information
crpalmer committed Sep 21, 2013
1 parent 34acfb5 commit 2fcf835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,7 @@

<!-- Is the device capable of hot swapping an UICC card -->
<bool name="config_hotswapCapable">true</bool>

<!-- Button illumination -->
<bool name="config_deviceHasVariableButtonBrightness">true</bool>
</resources>
1 change: 1 addition & 0 deletions rootdir/etc/init.dlx.rc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ on boot
chown system system /sys/class/leds/amber/blink
chown system system /sys/class/leds/amber/off_timer
chown system system /sys/class/leds/button-backlight/brightness
chown system system /sys/class/leds/button-backlight/currents
chown system system /sys/class/leds/lcd-backlight/brightness

# create symlink to qcn wpa_supplicant folder
Expand Down

0 comments on commit 2fcf835

Please sign in to comment.