diff options
| author | 2024-01-23 16:52:46 +0000 | |
|---|---|---|
| committer | 2024-01-23 16:55:57 +0000 | |
| commit | 24c38549bb98a7e5a7ba4ae2f6d09c778d8eb9d4 (patch) | |
| tree | 21313b53286b0207a1450842eb111c737479201c /libs/androidfw/FileStream.cpp | |
| parent | 6538db515c5f88bd89aeb8606aee780bfaf99438 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions