s3ve3g-common: build HIDL lights hal from hardware/samsung

This commit is contained in:
Francescodario Cuzzocrea 2019-10-14 22:26:43 +02:00
parent d7acb88446
commit 3ab8a2a547
3 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,3 @@
/*
* Copyright (C) 2016 The CyanogenMod Project
* Copyright (C) 2017 The LineageOS Project
@ -31,6 +30,10 @@
#define BUTTON_BRIGHTNESS_NODE "/sys/class/leds/button-backlight/brightness"
#define LED_BLINK_NODE "/sys/class/sec/led/led_blink"
// Uncomment to enable variable button brightness
//#define VAR_BUTTON_BRIGHTNESS 1
/*
* Brightness adjustment factors
*

View File

@ -1,7 +1,7 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.light</name>
<transport arch="32">passthrough</transport>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>ILight</name>

View File

@ -63,8 +63,7 @@ PRODUCT_COPY_FILES += \
# Lights
PRODUCT_PACKAGES += \
android.hardware.light@2.0-impl \
lights.MSM8226
android.hardware.light@2.0-service.samsung
# Media
PRODUCT_COPY_FILES += \