diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-05-09 17:04:31 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-05-09 17:10:43 +0800 |
commit | d106973bd50844c291da26dbaaefe04bbc8c65fa (patch) | |
tree | c7280bce3a71b2c4fbf06ceaa26c49f110094cad /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions