summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2023-06-30 17:43:38 -0400
committer Evan Laird <evanlaird@google.com> 2023-07-05 11:43:26 -0400
commit62a8d73e6c0b9875cda41a6062b62ff80d223172 (patch)
treef4780eeb34121278836b63b1f867f84256724486 /libs/androidfw/BackupData.cpp
parentb1aa946049df2787f4d47244c3298016129d45b5 (diff)
[Sb chip] Fix chip layout when fullscreen or rotating
When launching an activity from the ongoing call chip, we end up setting the StatusBar window to fullscreen for a few frames. This would cause SystemEventChipAnimationController to position the chip halfway down the display due to positioning the container view using CENTER_VERTICAL. While testing, I also discovered that any rotation that occurred during the animation would not be properly reflected. Opening the camera app while in landscape would sometimes not show the chip at all due to triggering a rotation AND a privacy event at the same time. The fix for this is to use the StatusBarContentInsetsChangedListener to re-solve for the animation rect bounds. Test: manual Test: SystemEventChipAnimationControllerTest Fixes: 289378932 Change-Id: I9f9909842999dd3c2cbd11c392223b7f213eff3a
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions