summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2022-09-23 14:20:41 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2022-09-27 19:21:22 +0000
commita0fbcf44f17affdce63997860a99d9e6a3a1dd00 (patch)
tree51a4a0ce23151bf1b14c50842f2e811fdbca7f16 /libs/androidfw/StringPool.cpp
parent1cb44532d737cf50a092c3e99a26087c7e201f38 (diff)
[SB Refactor] Connect the old pipeline and new pipeline visibility
calculations together for wifi. The _new_ pipeline has the source of truth for whether the wifi icon *should* be visible. But, the _old_ view system has the source of truth for whether the wifi icon *can* be visible (i.e. if there's enough space for it). This CL hooks up those two systems together by having `WifiViewBinder#bind` return a `Binding` interface implementation, similar to `KeyguardButtomAreaViewBinder#bind`. This allows them to communicate with each other and correctly change the view's visibility. Bug: 238425913 Test: manual: Go into airplane mode and verify that the wifi icon disappears completely and there's no empty gap in the status bar. Test: manual: Go into a state where there's not enough room for the wifi icon and verify that just a tinted dot shows up. See demo video in b/238425913#comment30. Test: statusbar.pipeline tests Change-Id: I9d421a4afb503c9327578f777561a4d38bf2fd48
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions