Skip to content

Commit

Permalink
lcd backlight shouldn't be truned on by camera button when screen is off
Browse files Browse the repository at this point in the history
Change-Id: Ie404ac08754e6629f81270eed13ac53e7cdb4c5a
  • Loading branch information
nadlabak committed Dec 9, 2012
1 parent 923ddb1 commit 9cb1e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/init.mapphone_umts.rc
Expand Up @@ -639,7 +639,7 @@ service bugreport /system/bin/dumpstate -d -v -o /sdcard/bugreports/bugreport
# 1. generate proximity 'far' event - workaround for broken proximity sensors
# 2. provoke light sensor read > ALS event - workaround for ALS interrupt
# not happening on light condition change anymore after some (random?) uptime
service proximity_als /system/bin/sh -c "sendevent /dev/input/event5 3 25 2147483647 && sendevent /dev/input/event5 0 0 0 && cat /sys/class/leds/lcd-backlight/als > /sys/class/leds/lcd-backlight/als"
service proximity_als /system/bin/sh -c "sendevent /dev/input/event5 3 25 2147483647 && sendevent /dev/input/event5 0 0 0 && cat /sys/class/leds/lcd-backlight/als > /dev/null"
disabled
user root
oneshot
Expand Down

0 comments on commit 9cb1e2b

Please sign in to comment.