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

Commit 3f9d6278 authored by Jon Miranda's avatar Jon Miranda
Browse files

Fix bug where page indicator animation repeats itself.

Bug: 31501865
Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c
parent 46133612
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -226,11 +226,6 @@ public class PageIndicatorDots extends PageIndicator {
    public void setActiveMarker(int activePage) {
        if (mActivePage != activePage) {
            mActivePage = activePage;

            // Simulate a scroll change
            int totalScroll = mNumPages - 1;
            int currentScroll = mIsRtl ? (totalScroll - mActivePage) : mActivePage;
            setScroll(currentScroll, totalScroll);
        }
    }