commit | 167bbfac24b1e78576b18c0522218838dfdf57bb | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Thu Mar 31 09:44:34 2016 -0700 |
committer | Chong Zhang <chz@google.com> | Fri Apr 01 13:58:41 2016 -0700 |
tree | 88db80bf5d8a5dac8b3748a1c0b9a2d2d43954f0 | |
parent | c2a091a04b36f0bac027d899d5a85200c757eb1f [diff] |
Avoid extra relaunch when rotating side-by-side apps Update configuration with WM first and check if the stacks need to be resized due to the update. If so, let activity manager resize the stacks inline, instead of letting WM schedule another pass of resizeStack. This way the configuration will be updated to the latest before ensureActivity- ConfigurationLocked, and we don't need another relaunch there. bug: 27834014 Change-Id: Ib761a96cada0c3247b0480f18370670c593159da