gts3l-common: light: Edit for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I0ce13d375d924e887cb6ab62c616842ec5eb8de2
This commit is contained in:
parent
386d61ff4d
commit
90cfd24739
3 changed files with 7 additions and 5 deletions
|
@ -31,8 +31,8 @@ LOCAL_SHARED_LIBRARIES := \
|
||||||
libutils \
|
libutils \
|
||||||
android.hardware.light@2.0
|
android.hardware.light@2.0
|
||||||
|
|
||||||
LOCAL_MODULE := android.hardware.light@2.0-service.samsung
|
LOCAL_MODULE := android.hardware.light@2.0-service.gts3l
|
||||||
LOCAL_INIT_RC := android.hardware.light@2.0-service.samsung.rc
|
LOCAL_INIT_RC := android.hardware.light@2.0-service.gts3l.rc
|
||||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
LOCAL_MODULE_OWNER := samsung
|
LOCAL_MODULE_OWNER := samsung
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.samsung
|
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.gts3l
|
||||||
interface android.hardware.light@2.0::ILight default
|
interface android.hardware.light@2.0::ILight default
|
||||||
class hal
|
class hal
|
||||||
user system
|
user system
|
|
@ -25,9 +25,11 @@
|
||||||
* symlink to the locations given here, or override this header in your
|
* symlink to the locations given here, or override this header in your
|
||||||
* device tree.
|
* device tree.
|
||||||
*/
|
*/
|
||||||
#define PANEL_BRIGHTNESS_NODE "/sys/class/backlight/panel/brightness"
|
#define PANEL_BRIGHTNESS_NODE "/sys/class/leds/lcd-backlight/brightness"
|
||||||
#define PANEL_MAX_BRIGHTNESS_NODE "/sys/class/backlight/panel/max_brightness"
|
#define PANEL_MAX_BRIGHTNESS_NODE "/sys/class/leds/lcd-backlight/max_brightness"
|
||||||
#define BUTTON_BRIGHTNESS_NODE "/sys/class/sec/sec_touchkey/brightness"
|
#define BUTTON_BRIGHTNESS_NODE "/sys/class/sec/sec_touchkey/brightness"
|
||||||
|
|
||||||
|
// Those two paths don't exist in the Galaxy Tab S3 sysfs
|
||||||
#define LED_BLINK_NODE "/sys/class/sec/led/led_blink"
|
#define LED_BLINK_NODE "/sys/class/sec/led/led_blink"
|
||||||
#define LED_BLN_NODE "/sys/class/misc/backlightnotification/notification_led"
|
#define LED_BLN_NODE "/sys/class/misc/backlightnotification/notification_led"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue