summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Shawn Lin <shawnlin@google.com> 2022-05-13 09:35:17 +0000
committer Shawn Lin <shawnlin@google.com> 2022-05-13 11:32:59 +0000
commit84289d3985759260e19bcf2e95651bf814845cde (patch)
tree492674bd9ef4caafa83fd9d7b997c64102a3a2f8 /libs/androidfw/AttributeResolution.cpp
parente563a237aa374f9a50804a0d20a56c2b4b33cff4 (diff)
Add getAdjacentTaskFragment check for the split screen case
Previously, the root task created by kids mode would be treated the same as split screen to return SCREEN_ORIENTATION_UNSPECIFIED. Now, also check getAdjacentTaskFragment != null for the split screen case, so that apps in the kids mode root task will work as expect. Bug: 231575466 Test: - Enter kids mode -> rotate device - apps should follow their request orientations - Enter split screen(not in kids mode) -> rotate device - tasks should be rotated Change-Id: I930e162ef74d114ba2375eae03e13f7ccdd34baa
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions