Skip to content
Commit 3695613b authored by Philip Junker's avatar Philip Junker
Browse files

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 4d9cb42e)
parent b1626ac3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment