summaryrefslogtreecommitdiff
path: root/liblight
Commit message (Collapse)AuthorAgeFilesLines
* marlin: Squashed reverts of vendor img hacksrazorloves2019-03-011-1/+3
| | | | | | | | | | | | | | | | | | Building vendor image now so these hacks are no longer needed. Revert "marlin: don't overwrite frameworks-res from vendor" This reverts commit bfa6ea530d59eb6da6ab552ec5f45b9947d6140b. Revert "marlin: Override theme overlay property" This reverts commit 6b9a5347acd3ba94cf1265c5d13f5a34abd0a557. Revert "marlin: use built lights hal on /system instead of /vendor" This reverts commit 1e5bbe9c8e390d402d70852221c6a6ffc100ca0f. Revert "marlin: Add Google platform certificate" This reverts commit 26e577be8796a60d1fd2990ba769d46d51d6004c. Change-Id: I8eb96b8074963cb417a42cd0eae3637a6712f50f
* marlin: use built lights hal on /system instead of /vendorrazorloves2018-09-081-3/+1
| | | | | | | The battery led function is disabled in the prebuilt lights hal on /vendor, so lets add it to /system so that it can be enabled. Change-Id: I349ba1589d224d8a3dd389e6d26c5948213fce6c
* marlin: enable battery led and multicolor notif/battery ledsbeanstown1062018-09-081-1/+1
| | | | | | * Updated comments with latest lights capabilities. Change-Id: I445277aeebccd8bf6b0897d51d6a0c29d173828c
* marlin: add kernel includes for lightsDan Pasanen2018-08-131-0/+3
| | | | Change-Id: I9bfa9f7e4c5e2a1c4d94a3a9a5861a4b846196f2
* Make liblight build with the VNDK.Steven Moreland2018-01-251-0/+1
| | | | | | | | | | | | When the vndk is enabled (BOARD_VNDK_VERSION=current), vendor libraries must only link against vendor variants in the build system. This also means that they receive restricted sets of headers and that automatic global headers are restricted. Test: build liblight with BOARD_VNDK_VERSION=current Bug: 69526027 Change-Id: If017a82757810f64ee66094b1f63df5b4409fcad
* marlin: remove LOCAL_CLANG from packagesJake Weinstein2017-07-121-1/+0
|\ | | | | | | | | | | am: 28f10d44f5 Change-Id: I926ec0fe3d307accb9787ea13780e4375148eae4
| * marlin: remove LOCAL_CLANG from packagesJake Weinstein2017-07-091-1/+0
| | | | | | | | | | | | Clang is already the default compiler. Change-Id: I566926e014865f0bc6a4d3e6981a191343d8a071
| * Move device dependent modules to /vendorDiego Wilson2017-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | All these modules are device dependent and as such they belong in the vendor image. Test: Rebuilt, flashed and booted marlin-userdebug (cherry picked from commit 04c45fa16bfad0a50861d70fd69b05d5c841bd91) Change-Id: Ie428c8a611f62a5dae98561b2a2e9cdb9c3fb628 Merged-In: I2e64695a1745de901a3ed8b21f7a5dd51107d3db
* | Move device dependent modules to /vendorDiego Wilson2017-03-091-0/+2
| | | | | | | | | | | | | | | | All these modules are device dependent and as such they belong in the vendor image. Test: Rebuilt, flashed and booted marlin-userdebug Change-Id: I2e64695a1745de901a3ed8b21f7a5dd51107d3db
* | lights: Allow changing brightness when in low-persistence mode. am: 3ab6a384e7Craig Donner2017-01-131-4/+0
|\| | | | | | | | | | | am: 7aff7b13e2 Change-Id: Ie835068be6364a18fd9afc289bf77e22bd063239
| * lights: Allow changing brightness when in low-persistence mode.Craig Donner2017-01-131-4/+0
| | | | | | | | | | Bug: 30984614 Change-Id: I57c53df6dd9507b209959b0caa34ac1fc460ad34
* | liblight: remove button light.Steven Moreland2016-12-291-19/+0
|/ | | | | | | | | The file /sys/class/leds/button-backlight/brightness isn't created/exposed by the marlin kernel. Bug: 33959789 Test: light_hidl_hal_test vts test Change-Id: I97e0324b3a192f79d3f1cc677eb4413371f6d08e
* marlin/sailfish: set fixed brightness when entering LP modeCraig Donner2016-07-152-2/+6
| | | | | | | | | | | | It's necessary to set maximum brightness while in low persistence mode to maintain constant brightness regardless of the system brightness setting. Note that since different devices require slightly different brightness settings to achieve the same output intensity the value is specified in a new BoardConfig variable. Bug: 28121551 Change-Id: I3cdd28baf39a3468fbbb1674d2176e5b4825d80e
* Revert "marlin: reenable battery notification LED"Nick Desaulniers2016-07-141-6/+1
| | | | | | | This reverts commit 58f8765157208fc1065a0f4fe7bea03991c42ab4. Bug: 30048869 Change-Id: Ibabc62b8eeefc838c0cfe853a1af64147be11d66
* marlin: liblight: Set different brightness to indicator LED formatt_huang2016-07-132-4/+21
| | | | | | | | different CG color Bug: 29207666 Change-Id: Idd3cd968c3bf49fe8b64c72f57dbd6253f3b675c Signed-off-by: matt_huang <matt_huang@htc.com>
* marlin: liblight: Correct blue led attr file pathmatt_huang2016-07-111-1/+1
| | | | | | | | Previous BLUE_ON_OFF_MS_FILE is incorrect Bug: 29961905 Change-Id: I64ac91448ef8c9a685b7d8b51858e786955a7a5f Signed-off-by: matt_huang <matt_huang@htc.com>
* marlin: liblights change for enabling LP modeSteve Pfetsch2016-07-111-2/+26
| | | | | Bug: 28121551 Change-Id: Ib18d4c834b4807fb0d8653e491ac74a4b7aaf8ee
* marlin: reenable battery notification LEDNick Desaulniers2016-07-111-1/+1
| | | | | Bug: 30048869 Change-Id: I262074e496af0896be1f9cfce550d722daaf4ad8
* marlin: disable battery notification LEDPatrick Tjin2016-05-181-0/+9
| | | | | Bug: 28771602 Change-Id: I28c97f6c6a162daddc4680332db608ce30ceaf2f
* marlin: liblight: Add new led HAL to support on_off time setting for led drivermatt_huang2016-05-133-0/+572
Default led HAL doesn't support on_off time setting for led driver Add new led HAL to support on_off time setting for led driver Bug: 28128794 Change-Id: I850961a59be2b78062af7f151148a26a87a06943 Signed-off-by: matt_huang <matt_huang@htc.com>