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

Commit f5b74b07 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Fixed a rebase gone wrong with pageindicator

am: 20e84c75

* commit '20e84c75':
  Fixed a rebase gone wrong with pageindicator

Change-Id: I08bfc4b3c0cb3a8159645c7ff6d017daa8db6c9e
parents 788504fa 20e84c75
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -122,6 +122,7 @@ public class PageIndicator extends ViewGroup {
        ImageView second = (ImageView) getChildAt(secondIndex);
        ImageView second = (ImageView) getChildAt(secondIndex);
        if (first == null || second == null) {
        if (first == null || second == null) {
            // may happen during reInflation or other weird cases
            // may happen during reInflation or other weird cases
            return;
        }
        }
        // Lay the two views on top of each other.
        // Lay the two views on top of each other.
        second.setTranslationX(first.getX() - second.getX());
        second.setTranslationX(first.getX() - second.getX());