Skip to content
Commit ba75b774 authored by Santos Cordon's avatar Santos Cordon
Browse files

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
parent 2549c0f8
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