diff options
author | Riddle Hsu <riddlehsu@google.com> | 2018-08-23 22:44:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2018-09-14 12:58:00 +0800 |
commit | 2f6e174c4afb2e2d171808033df7ad4133854e53 (patch) | |
tree | 4bbd87e4147618b3f68b44aee2904a7f167d9e05 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3bbff814edf69e5c80ee10a24048a39bfec12385 (diff) |
Fix z-order of displays when adjusting position of stack
When moving a stack to top including its parent (display),
if the target position is adjusted to non-top because there
is other always-on-top stack in this container, the display
should also be moved to top for higher focus priority.
Z-order
Top |----------------|
Display 1 | [Normal stack] |
|----------------|
|----------------|
Display 0 | [Pinned stack] |
| [Normal stack] | <- Moving task in here
Bottom |----------------|
Bug: 113099160
Test: atest TaskStackContainersTests#testDisplayPositionWithPinnedStack
Change-Id: I877fd2acddeeb6d68fe6f4336dd202b9db11d94e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions