diff options
| author | 2022-09-27 10:55:53 -0700 | |
|---|---|---|
| committer | 2022-10-17 15:24:31 +0200 | |
| commit | 0e59150349d9611dc663cb0ca98e5d56c0924e41 (patch) | |
| tree | 30218c7265622d7a02b677cc097ccbecde503448 /libs/androidfw/AssetsProvider.cpp | |
| parent | f71a0036c0f1c7bd6f76697dc7451d0b3082ce61 (diff) | |
Prevent null references when updating state
Certain external calls (such as GlobalActionsComponent) will make calls
to updateState which may happen without central surfaces being
registered to this component. This can be prevented by checking for
registration prior to update.
This is more of a short term patch. In the long term, the
StatusBarKeyguardViewManager is planned to be refactored/removed so
additional effort or refactoring now seems unessesary.
Bug: 249086825
Test: manual
Change-Id: Ica4043470e13a239f0792a10e807dd1a899f5f85
(cherry picked from commit cf7db5579b764d4b44212fcd00b1d6c82993fbeb)
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions