summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Garfield Tan <xutan@google.com> 2023-02-16 12:22:59 -0800
committer Garfield Tan <xutan@google.com> 2023-02-24 17:36:32 +0000
commit849d65f38c4272a05bd78afbd0d4d156357fc818 (patch)
tree86760c35cd0c6f8de4bf934d41e61aef1210df1f /libs/androidfw/FileStream.cpp
parentee9fd9031ed83cf6f707d6d32120639f83387daf (diff)
Hard code caption insets for caption in WM shell
We attempted to remove the hard coded caption insets for captions in WM shell before, but it revealed a synchronization issue of window frames and caption inset frames being updated separately. The proper fix to this issue is more complicated than I initially thought, so we restore the workaround in a similar way as the workaround we had for the legacy DecorCaptionView in short term. For now InsetsPolicy drops caption insets if the the layout attributes indicate the window is floating. Also restore unit tests removed because the old workaround was removed for caption in WM shell. Bug: 254128050 Test: Caption insets look correct for regular activities. Test: Floating windows (dialogs) don't get caption insets. Test: atest InsetsSourceTest Test: atest InsetsStateTest Change-Id: I15616974bbccc8662124e9efa956c180dc329cbf
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions