commit | f6d8e9e85f8f8412d49300b4acd9fc5e563f2ad2 | [log] [tgz] |
---|---|---|
author | Filip Gruszczynski <gruszczy@google.com> | Thu Nov 12 13:39:20 2015 -0800 |
committer | Filip Gruszczynski <gruszczy@google.com> | Thu Nov 12 13:39:20 2015 -0800 |
tree | bcfd6c2fa201e1089cf7c97ed2595c4bd1d10a76 | |
parent | 1bc5d9b3d4d4521dc9a1b5954bc571400de6ced4 [diff] |
Fix wrong dock stack bounds after rotation. When setting the stack bounds from the system UI we need depend on DisplayInfo.logicalWidth/Height instead of DisplayMetrics. DisplayMetrics have values adjusted for status bar and nav bar, but the Activity Manager doesn't know about that. It expects the stack bounds to use full display size. Bug: 25665425 Change-Id: Idf5f3192105b72686d1ad11fe4f42c894bb87fbe