OSDN Git Service

Fix wrong dock stack bounds after rotation.
authorFilip Gruszczynski <gruszczy@google.com>
Thu, 12 Nov 2015 21:39:20 +0000 (13:39 -0800)
committerFilip Gruszczynski <gruszczy@google.com>
Thu, 12 Nov 2015 21:39:20 +0000 (13:39 -0800)
commitf6d8e9e85f8f8412d49300b4acd9fc5e563f2ad2
treebcfd6c2fa201e1089cf7c97ed2595c4bd1d10a76
parent1bc5d9b3d4d4521dc9a1b5954bc571400de6ced4
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
packages/SystemUI/src/com/android/systemui/stackdivider/DividerView.java