diff options
| author | 2021-02-09 12:42:26 -0500 | |
|---|---|---|
| committer | 2021-02-09 12:42:26 -0500 | |
| commit | 347a88a1906e49afc2decc46cee3a22ce4f3daa5 (patch) | |
| tree | 07709c39db23f29d04ff1fb05a77c6e74f332ae2 | |
| parent | 02151de4443217a5add536c4fdb5cbc3d5e41bf6 (diff) | |
Fix animation when using side labels
After QS is recreated (theme change), the animator may calculate the
wrong positions, as it wasn't taking into account the new layout.
Test: manual
Fixes: 179783296
Change-Id: I60b37663a0ac132ddaf9a73a6e4d948f1d243194
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java b/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java index d248ab544656..c8edaec98ee4 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java @@ -362,7 +362,7 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha if(view == parent || view == null) return; // Ignore tile pages as they can have some offset we don't want to take into account in // RTL. - if (!(view instanceof PagedTileLayout.TilePage)) { + if (!(view instanceof PagedTileLayout.TilePage || view instanceof SideLabelTileLayout)) { loc1[0] += view.getLeft(); loc1[1] += view.getTop(); } |