commit | d54c2f4d638e54fbe2e76b8ada0eabbcaf0036f8 | [log] [tgz] |
---|---|---|
author | Huihong Luo <huisinro@google.com> | Wed Feb 12 11:19:49 2020 -0800 |
committer | Huihong Luo <huisinro@google.com> | Wed Feb 12 22:59:24 2020 +0000 |
tree | b1072e929890539163665e03b0c099670fcab27a | |
parent | 74cc5c44364df31f97c470d271dc74ffd8f58e55 [diff] |
Do not set DISPLAY_BRIGHTNESS if not present Check this property first, if HAL does not support this property, don't set it. Bug: 148805332 Test: use emulator, remove DISPLAY_BRIGHTNESS from DefaultConfig.h Change-Id: Ief894835b82aa0c94e5ee13079af17e914a198f1
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.