summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2023-07-11 19:32:41 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-08-14 21:22:20 +0000
commit073fc5e910e0b9630a2b79d5ddc9dfafeaca5229 (patch)
tree76279062fced7351dcf388b729a82ec2bcf213b6 /libs/androidfw/FileStream.cpp
parent8a9fdc06a74979292b7ca53391595125bfcb6c94 (diff)
[Status Bar] Set status bar window insets to status bar height always.
This is needed for the animation shown when you tap the ongoing call chip in order to launch the call app. If we do *not* set the insets, then the insets will change during the animation, which will result in the animation being cancelled and show jank when launching the app. This CL is improvement of ag/23875866. That CL originally caused b/290300359, where the status bar height changed but the insets were *not* changed, so the insets were too small. This CL also adds the insets to the #applyHeight function, which is called when the status bar height changes. Bug: 283958440 Test: tap on ongoing call chip -> verify no jank during animation Test: status bar smoke test on phone (verify status bar in portrait and landscape, with and without ongoing call chip) Test: status bar smoke test on tablet (same as above) Test: status bar smoke test on foldable (same as above) Test: regression test for b/290300359: Boot foldable device while unfolded (no display cutout) > fold device (has display cutout now) > open app > verify there's no white/black bar showing between the status bar and the app (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4b89585868f4c95b2458bb1eef77587a896751a7) Merged-In: I35df87ef05cb75dcd551cc4899a0a9863fdcbcc7 Change-Id: I35df87ef05cb75dcd551cc4899a0a9863fdcbcc7
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions