commit | 4b6e4c1ea47c17dbc4dfe20665ae5cf4e63c6f41 | [log] [tgz] |
---|---|---|
author | Huihong Luo <huisinro@google.com> | Wed Feb 12 11:19:49 2020 -0800 |
committer | Huihong Luo <huisinro@google.com> | Thu Feb 13 22:26:27 2020 +0000 |
tree | 2023bf51ade85ca62317b74c7dfd57388572908c | |
parent | f7bcb12a23e8340bd11c034271d26da000d0d2c8 [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.