summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/widget/EcoGallery.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/widget/EcoGallery.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/widget/EcoGallery.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/cyanogenmod/trebuchet/widget/EcoGallery.java b/src/com/cyanogenmod/trebuchet/widget/EcoGallery.java
index 8c7a7415d..c983704ae 100644
--- a/src/com/cyanogenmod/trebuchet/widget/EcoGallery.java
+++ b/src/com/cyanogenmod/trebuchet/widget/EcoGallery.java
@@ -36,8 +36,6 @@ import android.view.animation.Transformation;
import android.widget.Scroller;
import com.cyanogenmod.trebuchet.R;
-import java.lang.reflect.Field;
-
public class EcoGallery extends CustomAbsSpinner implements GestureDetector.OnGestureListener {
private static final String TAG = "Gallery";
@@ -448,7 +446,7 @@ public class EcoGallery extends CustomAbsSpinner implements GestureDetector.OnGe
break;
} else {
count++;
- mRecycler.add(firstPosition + i, child);
+ mRecycler.add(child);
}
}
} else {
@@ -460,7 +458,7 @@ public class EcoGallery extends CustomAbsSpinner implements GestureDetector.OnGe
} else {
start = i;
count++;
- mRecycler.add(firstPosition + i, child);
+ mRecycler.add(child);
}
}
}