Commit Graph

6 Commits

Author SHA1 Message Date
Santos Cordon
aa1b4ab5ee Remove default VR brightness implementation in lights.c
There already exists adjustable, default values in the java layer for this stuff so
we will leverage that instead.

Test: Ensure that going into VR mode still sets the value to correct
default.

Bug: 73090564
Change-Id: Id9929f074219fee74f93def5227e92ea9b6f55a0
2018-04-17 11:22:07 -07:00
Chih-Hung Hsieh
20197b4ece Use -Werror in device/google/wahoo
* Remove unused local variable.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I96228277b9c81b71e73e4e376d86cdea6cbcb647
2017-11-06 15:06:45 -08:00
jiwon912.choi
98a24a3603 liblight: Change method to get LP mode brightness
Bug : 62663757

If sys.display.low_persistence_mode_brightness is set, get brightness
from sys.display.low_persistence_mode_brightness.

Change-Id: I21a7583f535f8797300bab738cc4c8805ca06b90
2017-07-07 13:29:59 -07:00
taekwoo.nam
b45c4031ad liblight: Change the node for the low persistence mode.
To synchronize the kernel driver, changed the path.

Bug: 36660610
Change-Id: Ieaf9e46dd4ce7d0aad91a1f7bfa486029be1816a
2017-04-18 22:29:33 +00:00
Steven Moreland
2d06d3d446 liblight: remove button light.
The file /sys/class/leds/button-backlight/brightness isn't
created/exposed by the kernel.

Bug: 36097008
Test: LightHidlTest.TestSupported now passes.
Change-Id: If2e036cfa9fdb36596bc0820480072fde7591112
2017-03-20 14:40:42 -07:00
Thierry Strudel
4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00