Fixed a rebase gone wrong with pageindicator
The return statement was lost. Change-Id: Ica403337bf9dce2c0b1c2447a0aa4359f991ac0d Fixes: 27927374
This commit is contained in:
@@ -122,6 +122,7 @@ public class PageIndicator extends ViewGroup {
|
||||
ImageView second = (ImageView) getChildAt(secondIndex);
|
||||
if (first == null || second == null) {
|
||||
// may happen during reInflation or other weird cases
|
||||
return;
|
||||
}
|
||||
// Lay the two views on top of each other.
|
||||
second.setTranslationX(first.getX() - second.getX());
|
||||
|
||||
Reference in New Issue
Block a user