summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Santos Cordon <santoscordon@google.com> 2022-03-15 10:11:49 +0000
committer Santos Cordon <santoscordon@google.com> 2022-03-15 12:58:50 +0000
commitba75b774fa45487f820e3a55765ecb9b820d18fc (patch)
tree51153af5e2836f92aba62fa795e19d522fc16e95 /libs/androidfw/ResourceTimer.cpp
parent2549c0f8c23816b6876b560eacad60435d747759 (diff)
Add NPE check in ColorFade.
There is a delay between when a display is removed in the DisplayManager thread and when the ColorFade is dismissed in the PowerManager thread which can leave ColorFade in a state where its associated display is no longer available. Check for valid display similar to how we are doing in other parts of the ColorFade code. Bug: 220650894 Test: atest ColorFadeTest Change-Id: I75528bf4cd398999e012c3c8d8c53b6ac0ce1552
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions