Skip to content
Commit 91c2838a authored by Michael Wright's avatar Michael Wright
Browse files

Protect against null Displays.

Because the display callbacks happen asynchronously, if a display is
added or changed and then immediately removed it may no longer exist by
the time we query DisplayManager about it. This results in an unexpected
null Display object, causing DisplayModeDirector to crash. We guard
against this case, ignoring the display until it gets re-attached.

Fixes: 127875518
Test: manual
Change-Id: I32acd77a095181155dbcb57922f616b2ac57192c
parent 2fbf90c6
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