summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2023-08-22 17:08:59 -0400
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-08-25 15:50:16 +0000
commite509515edbfb623374d8e16288e3b5880daa9f67 (patch)
treee58533fb3562260b14009b57956fe59e675ec774 /libs/androidfw/FileStream.cpp
parentf353aecc0b09770a24b4ddeb1d1e6d61815a1f78 (diff)
[StatusBar] Request layout on vis change, and move to CREATED
The flow that was being bound to the mobile icon group's visibility lived in STARTED (this caused tests to pass). It also was experiencing a race condition against the StatusIconContainer. In certain circumstances, the view was being created and sent to have an icon state of HIDDEN, despite having changed itself to be VISIBLE. This is all emergent behavior from StatusIconContainer, which decides which state to set on icons in its onMeasure(), but then applies that state in onLayout(). To test: remove battery percent from status bar; ensure that _no other icon_ is showing. This means disable Wi-Fi and make sure volume is set to vibrate or on, since those states have no icon. Once you are in a state where there is only battery and mobile showing, remove and re-insert the SIM card to reproduce. Test: ModernStatusBarMobileViewTest Test: manually removing and inserting SIM card Fixes: 291031862 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:53657d1ff8ba10647c38d8ad5fd0486202b2dedd) Merged-In: I0e68037126a526fcf3614bf25683af3fa4e5aa96 Change-Id: I0e68037126a526fcf3614bf25683af3fa4e5aa96
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions