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

Commit 60873dde authored by Winson Chung's avatar Winson Chung Committed by Android Git Automerger
Browse files

am 8c5ebad0: am 062e01c5: am 2635750f: Adding workaround to fix issue where...

am 8c5ebad0: am 062e01c5: am 2635750f: Adding workaround to fix issue where the bouncer animation had the wrong pivot.

* commit '8c5ebad0':
  Adding workaround to fix issue where the bouncer animation had the wrong pivot.
parents 87d6e4be 8c5ebad0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -770,6 +770,9 @@ public class KeyguardWidgetPager extends PagedView implements PagedView.PageSwit
        }
        View currentPage = getPageAt(getCurrentPage());
        currentPage.setPivotY(0);
        // Note: we are working around the issue that setting the x-pivot to the same value as it
        //       was does not actually work.
        currentPage.setPivotX(0);
        currentPage.setPivotX(currentPage.getMeasuredWidth() / 2);
        if (!(currentPage.getScaleX() < 1f || currentPage.getScaleY() < 1f)) {
            mZoomInOutAnim = new AnimatorSet();