summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Bowen Li <libowen1@xiaomi.corp-partner.google.com> 2022-10-20 13:06:19 +0800
committer Chris Li <lihongyu@google.com> 2022-11-03 11:21:02 +0000
commita1df4706c18b6d0b871091ab5f518a803de1afde (patch)
tree2f66dd0906d789a06f8ce7128048c9b7f875fa07 /libs/androidfw/StringPool.cpp
parent72ca88f7356356bbc985bc5f6bb6fa0f144ffc0e (diff)
Sort running task by focus and visibility
Currently the order of visible tasks we get is opposite to that in the system. This CL is to ensure that the visible focused task is on top, visible tasks below, then invisible tasks. And keep the order within the acquired focus, visible and invisible tasks groups consistent with the system instead of sort by lastActiveTime. If there are multiple DisplayContents, getTasks method will return: [{VisibleFocusTask for DisplayTop, VisibleFocusTask for DisplayBottom}, {VisbleTask0...n1 for DisplayTop, VisbleTask0...n2 for DisplayBottom}, {InvisbleTask0...n3 for DisplayTop, InvisbleTask0...n4 for DisplayBottom}] in the same result List. Bug: 255255158 Signed-off-by: Bowen Li <libowen1@xiaomi.corp-partner.google.com> Merged-In: I7f7d5e72fbf73988b58c23f8a11dff05dbc1b3f1 Change-Id: I7f7d5e72fbf73988b58c23f8a11dff05dbc1b3f1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions