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

Commit 857b1b94 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Notifying page end transition if forceFinish is called in the middle

of page transition

This fixed the bug where onPageTransitionEnd is never called when using
quickswitch

Change-Id: I4196a8651ee67d175363d51165dd128fe0518341
parent 85f1eed5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -333,6 +333,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
        // updating current page on the pass.
        if (resetNextPage) {
            mNextPage = INVALID_PAGE;
            pageEndTransition();
        }
    }

@@ -342,6 +343,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
        // updating current page on the pass.
        if (resetNextPage) {
            mNextPage = INVALID_PAGE;
            pageEndTransition();
        }
    }