summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2023-05-30 13:40:46 -0700
committer Maryam Dehaini <mdehaini@google.com> 2023-06-05 20:19:50 +0000
commit537a7b6556f4b686d270a62f8539a24d5e370755 (patch)
treeeb5a74beafc9909fd9ae5ac2ac23016d126acf98 /libs/androidfw/ZipFileRO.cpp
parent19445b0b21a7950e54f6f5b745863113c8de1082 (diff)
Add caption inset when moving to desktop
When we transition to desktop using the caption handle, the configuration changes trigger WindowDecoration#relayout to run and a redraw. WindowDecoration#relayout adds the caption insets source using another WindowContainerTransaction, but, the insets are sometimes not added before the redraw occurs and apps do not listen to inset changes to trigger a redraw, so, the insets are not added until another configuration change triggers a redraw. In the long run, we need to have apps listen for inset changes and redraw accordingly. In the meantime, this change adds the caption insets in the same WCT that applies to changes to transition into desktop mode. Test: Repeatedly transition into desktop mode using the caption handle and make sure the caption inset is there (top of app is visible) + run atest DesktopTasksControllerTest Change-Id: I16260aa21374fee751f03fe4492f91640179a7ad
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions