commit | 4d9cb42e217fd2c105c8a141ec849968584e2878 | [log] [tgz] |
---|---|---|
author | Philip Junker <philipjunker@google.com> | Thu Nov 04 19:32:18 2021 +0100 |
committer | Philip Junker <philipjunker@google.com> | Fri Nov 05 15:48:38 2021 +0100 |
tree | 00907d704d99a19c5d5382f79127b9a9c69084f1 | |
parent | e37c9cb7ac4ece8e01d5b1a96ed6cfbfe93f499a [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