diff options
author | Philip Junker <philipjunker@google.com> | 2021-11-04 19:32:18 +0100 |
---|---|---|
committer | Philip Junker <philipjunker@google.com> | 2021-11-08 10:30:05 +0000 |
commit | 3695613b6fea2c8f27928f6051be546307b45bd4 (patch) | |
tree | 7a9f916a92cf712183229d818f0bff9c522b1395 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b1626ac345d1e3dccddf1f403cd914166cfaea97 (diff) |
Mark mAutomaticBrightnessController @Nullable.
Check that AutomaticBrightnessController is not null before calling update() and resetShortTermModel().
Bug: 203737431
Test: manual: flashed build with automaticBrightnessController set to null and verified that no NPE is thrown.
Change-Id: Ie709d4bc7e6166eeb7e936bea79162f468c713f4
(cherry picked from commit 4d9cb42e217fd2c105c8a141ec849968584e2878)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions