Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0cb3549 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Merge "QS: Fix RTL animation" into nyc-dev am: d1df86db am:...

Merge "Merge "QS: Fix RTL animation" into nyc-dev am: d1df86db am: 395e0f6c" into nyc-mr1-dev-plus-aosp
am: 7a470f88

* commit '7a470f88':
  QS: Fix RTL animation

Change-Id: I1ff68614800469f5d45a540560c382d326690bd3
parents a6c2db28 7a470f88
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -252,8 +252,12 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha

    private void getRelativePositionInt(int[] loc1, View view, View parent) {
        if(view == parent || view == null) return;
        loc1[0] += view.getX();
        // Ignore tile pages as they can have some offset we don't want to take into account in
        // RTL.
        if (!(view instanceof PagedTileLayout.TilePage)) {
            loc1[0] += view.getLeft();
            loc1[1] += view.getTop();
        }
        getRelativePositionInt(loc1, (View) view.getParent(), parent);
    }