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 cf7db557)
Loading
Please register or sign in to comment