commit | 3695613b6fea2c8f27928f6051be546307b45bd4 | [log] [tgz] |
---|---|---|
author | Philip Junker <philipjunker@google.com> | Thu Nov 04 19:32:18 2021 +0100 |
committer | Philip Junker <philipjunker@google.com> | Mon Nov 08 10:30:05 2021 +0000 |
tree | 7a9f916a92cf712183229d818f0bff9c522b1395 | |
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)