summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Yunfan Chen <yunfanc@google.com> 2021-12-13 18:48:57 +0900
committer Yunfan Chen <yunfanc@google.com> 2022-03-10 16:06:22 +0900
commit40c0b8bdb97d872ce9278db9a2ac4ee9ac14bb8f (patch)
treec020ff729727978d9e8f78bf96e7c22b25c36717 /libs/androidfw/ZipFileRO.cpp
parent6bd34c6b30842a96564d16cfe25e2bd151e30256 (diff)
Introduce a flag to enable shell caption
A new interface in WindowManagerProxy was introduced to let the shell be able to set insets with a given frame. The interface won't work for caption as we applied special logic to assemble the caption frame with the attached task frame. To make it work with caption insets, we need to disable all the special logics to make use of the shell interface. A flag CAPTION_ON_SHELL is introduced to disable the calling path and enable the above client owned logic. Turn the flag to true when the caption is moved to shell. Test: InsetsControllerTest, WindowContainerInsetsSourceProviderTest Bug: 189998209 Change-Id: I989b319001a118d1f1ff8e34761b39ee18fde335
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions