summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppsContainerRecyclerView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-04-07 13:45:29 -0700
committerWinson Chung <winsonc@google.com>2015-04-07 13:45:29 -0700
commit1c7c49331e22ba0bc1b54e72735364a946bf24e7 (patch)
tree96fd76ed20c21052ed2cea0732ccb30ded3ca4e6 /src/com/android/launcher3/AppsContainerRecyclerView.java
parent9121fbffafe0b90a23768e5ebc5fffab2a2175c2 (diff)
downloadandroid_packages_apps_Trebuchet-1c7c49331e22ba0bc1b54e72735364a946bf24e7.tar.gz
android_packages_apps_Trebuchet-1c7c49331e22ba0bc1b54e72735364a946bf24e7.tar.bz2
android_packages_apps_Trebuchet-1c7c49331e22ba0bc1b54e72735364a946bf24e7.zip
Fixing issue with building velvet against lower support lib.
Diffstat (limited to 'src/com/android/launcher3/AppsContainerRecyclerView.java')
-rw-r--r--src/com/android/launcher3/AppsContainerRecyclerView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AppsContainerRecyclerView.java b/src/com/android/launcher3/AppsContainerRecyclerView.java
index 63e7fe4ac..c93bacf93 100644
--- a/src/com/android/launcher3/AppsContainerRecyclerView.java
+++ b/src/com/android/launcher3/AppsContainerRecyclerView.java
@@ -339,7 +339,7 @@ public class AppsContainerRecyclerView extends RecyclerView
int childCount = getChildCount();
for (int i = 0; i < childCount; i++) {
View child = getChildAt(i);
- int position = getChildAdapterPosition(child);
+ int position = getChildPosition(child);
if (position != NO_POSITION) {
AlphabeticalAppsList.AdapterItem item = mApps.getAdapterItems().get(position);
if (!item.isSectionHeader) {