Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24c38549 authored by Matt Pietal's avatar Matt Pietal
Browse files

Delay handler messages until class is fully initialized

KeyguardViewMediator must wait for the both the #start() method on its
own class, as well as that of CentralSurfaces, since CentralSurfaces
needs to call #registerCentralSurfaces to complete the class
setup. Before this fix, the delay could cause an NPE when SystemUI was
restarted.

If this situation is detected, repost the same message but with a
small delay in order to check again.

Fixes: 319540806
Test: atest KeyguardViewMediatorTest
Flag: N/A
Change-Id: Ib821ff3742ac9bce67d05b6b29ae1ea9fcd42c5a
parent 6538db51
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