commit | d106973bd50844c291da26dbaaefe04bbc8c65fa | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu May 09 17:04:31 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu May 09 17:10:43 2019 +0800 |
tree | c7280bce3a71b2c4fbf06ceaa26c49f110094cad | |
parent | d06c6d29320bbc3e4e100327d94703605d796890 [diff] |
Fix incorrect bounds of split-screen when rotation changes Before calculating docked bounds, the rotated bounds should not be set again by previous bounds. Also simplify the condition of the bounds calculation a bit. Bug: 132188186 Test: atest SplitScreenTests Test: manual - Put 2 apps in split-screen mode, rotate device to landscape and then portrait. The divider should be be at the middle. Change-Id: I0cb30093363ea5ca499bd1c2a66c29deffcd21f1