Skip to content
Browse files

lcd backlight shouldn't be truned on by camera button when screen is off

Change-Id: I28e06351a4aae6a970508f8107a1e72bb0f1eabe
  • Loading branch information...
1 parent a0ad7d2 commit fdeb3c0231b2cc22f60c7f1a807a83e66a96c695 @nadlabak nadlabak committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rootfs/init.mapphone_umts.rc
View
2 rootfs/init.mapphone_umts.rc
@@ -620,7 +620,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

0 comments on commit fdeb3c0

Please sign in to comment.
Something went wrong with that request. Please try again.