commit | 3ae6ebb99b37c95cbef52a9f20ecd637694a1924 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Fri Mar 06 15:15:42 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Fri Mar 06 14:53:24 2020 +0000 |
tree | 6599a2e554e7e582fd1c28be8029eda71fcb90f6 | |
parent | deae24674d74c96f71c7e817bea3d2685a2f052f [diff] |
Fix freeform window cannot move up Since commit 0d46519, the stack can be used as task in freeform mode, so the stack bounds are no longer fullscreen. It becomes the actual window bounds, then the movable area is also limited. This changes to use the intersection of stable screen bounds and the parent bounds of root task. Also clean up TaskPositioner a bit. Bug: 150923021 Test: atest TaskPositionerTests#testMoveWindow Change-Id: I3030943fcca48a73a64173574e897b965a0d08d7