summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2022-09-29 17:18:12 +0800
committer Charles Chen <charlesccchen@google.com> 2022-10-06 17:08:42 +0800
commit6e0b27a126f3b0adc9b6db078073451945e871b8 (patch)
tree4354a43271a7471f281ac6ae2ad3102c0b1ca1f8 /libs/androidfw/StringPool.cpp
parent36f16a2fb8e4898019fd62d56f8c2d82c65f4bf1 (diff)
Fix SplitContainer not updated when folded.
The root cause is that TaskFragmentParentInfo wasn't be dispatched when there's a display or visibility change because we didn't implement getTaskFragment() in TaskFragment and it led to the TskFragment can't return itself if the predicate function returns true. This CL fixes WC#getTaskFragment and changes to dispatch Task#shouldBeVisible instead of Task#isVisibleRequested. The reason is that the visibleRequested change is not early enough for the scenario that device is folded from unfolded state, and lead to Settings flickering. Test: manual - open Settings and fold the device Test: atest TaskTests#testGetTaskFragment Test: atest TaskFragmentOrganizerControllerTest ActivityRecordTests fixes: 249055633 Change-Id: Ie1c56758697d14b426c9ed713da84e49c9f880d8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions