Permalink
Browse files

Liblights squash

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
  • Loading branch information...
1 parent 4e5a2c6 commit bdb0be1fc858618544a9cdaf9668d1ff120c3255 @Stevespear426 Stevespear426 committed Nov 20, 2012
Showing with 224 additions and 126 deletions.
  1. +8 −0 device.mk
  2. +2 −1 liblight/Android.mk
  3. +214 −125 liblight/lights.c
View
@@ -101,6 +101,14 @@ PRODUCT_PACKAGES += \
Nfc \
Tag
+# LED brightness property
+PRODUCT_PROPERTY_OVERRIDES += \
+ persist.sys.led-brightness=31
+
+# Charging LED property
+PRODUCT_PROPERTY_OVERRIDES += \
+ persist.sys.enable-charging-led=0
+
# Gnexus Parts
PRODUCT_PACKAGES += \
GNexusParts \
View
@@ -22,7 +22,8 @@ LOCAL_SRC_FILES := lights.c
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
-LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_SHARED_LIBRARIES := liblog \
+ libcutils
LOCAL_MODULE := lights.tuna
Oops, something went wrong.

0 comments on commit bdb0be1

Please sign in to comment.