Commit graph

3 commits

Author SHA1 Message Date
Pig
6cca34ef40 sdm660-common: light: Extend hidl changes to aidl
* Changes authored by dianlujitao in commits 7174356 ("Improve lights HAL") and
 f8e30fd ("Fix battery light not lit after notification light off") are
 adapted as following:
 Type(HIDL) -> id(AIDL) in functions and maps

 Note: Keep backlight in the map as per b9e44e5007, allowing SF to set backlight.

Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Change-Id: I8960a1fe0b44097e703f3f067d4e432a12d26fc3
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Jignesh Mehta
123d8346a3 sdm660-common: Add null check for lights smart pointer
lights smart pointer was used without null pointer check.
This change adds null check.

Change-Id: Ifdd82290cfe4d7ca781adbed8c8a65961c70e244
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Vinay Verma
401a0afb8a sdm660-common: Add AIDL Light HAL Support
This change add support for Light HAL Implementation using AIDL

Change-Id: I444994ff1a1ca22134e7ef6db13043fd2c06e8a8
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00