diff options
| author | 2023-06-01 14:20:03 -0400 | |
|---|---|---|
| committer | 2023-06-03 15:29:49 +0000 | |
| commit | 35fd336aa4c1a8fb751967a764b973676cff4bc2 (patch) | |
| tree | b46e8554f21ad6ec32ad6be628f93a60ff866b7b /libs/androidfw/StringPool.cpp | |
| parent | 4ee4adbbc21f81fc90fe66cb3ba1b27bfe4a40ae (diff) | |
Remove CentralSurfaces.isPanelExpanded
CSI.mPanelExpanded was redundant, because the only code path that
updated its value also updated NPVC.mPanelExpanded to that same value.
Additionally, whenever CS updated its value, it would then tell NPVC
to update the sysui state flags using its copy of the data. This change
eliminates CSI's copy and getter, and it moves the flag update request
into NPVC to eliminate some spaghetti code. There was a tiny chance
that there was another listener for NPVC.mPanelExpanded changes that
received the event before CSI and needed the sysui state flags to not
have been updated yet, so I verified that that was not the case.
Bug: 249277686
Test: manual
Change-Id: I05a038d2be66cfb4d84662d0f18465e161564653
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions