OSDN Git Service

Remove QSPanel bounds after expansion animation.
authorAmin Shaikh <ashaikh@google.com>
Thu, 25 Jan 2018 22:25:11 +0000 (17:25 -0500)
committerAmin Shaikh <ashaikh@google.com>
Thu, 25 Jan 2018 22:44:57 +0000 (22:44 +0000)
commitacd021ee1237652f603a53e69783384472104e00
treeda6adbf55f6082d8a9779808ee7a0902e9e529d2
parent4b66fc6b1f9f92d96ea9a03b9a186a5510ebd253
Remove QSPanel bounds after expansion animation.

QSPanel#setClipBounds is called during the expansion animation of QS,
but were not cleared after full expansion. Tiles added in the
customization flow properly expanded the QSPanel's size, but were not
drawn to the screen due to the stale view bounds. Clearing these bounds
also ensures that screen orientation changes properly redistribute the
tiles (e.g. 3x4 -> 3x4).

Bug: 70799330
Test: visual; adding tiles and rotating expanded QS
Change-Id: Ibab7d1ce7657d76cccf3957fd3dc1c8c2772f16f
packages/SystemUI/src/com/android/systemui/qs/QSFragment.java