summaryrefslogtreecommitdiff
path: root/tests/SystemUIDemoModeController/src
diff options
context:
space:
mode:
author mattsziklay <mattsziklay@google.com> 2024-01-31 15:08:29 -0800
committer mattsziklay <mattsziklay@google.com> 2024-01-31 17:14:15 -0800
commit9451dd4d8ae0869432fa94c8288685fa04029dfb (patch)
tree7869e1d520477de202a1f2f8574b072414fd6f23 /tests/SystemUIDemoModeController/src
parentebdb4991c62cd0aff0b42155c73caf04d478d64b (diff)
Reverse the iteration order for focus check.
Iterates the SparseArray of window decors in reverse order when searching for focused task. This avoids an issue where the decor of a closed task that has the isFocused flag set to true is found, preventing fullscreen tasks from being dragged into desktop. Bug: 296921167 Test: Manual; open a test app via studio, lock the screen, open the same test app through studio again. Confirm drag to desktop works after doing this. Change-Id: I64ff0414e38109fb15905d37cf7cb7d7ec4ead5a
Diffstat (limited to 'tests/SystemUIDemoModeController/src')
0 files changed, 0 insertions, 0 deletions