summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Garnes <matt@cyngn.com>2015-04-01 00:40:01 (GMT)
committerMatt Garnes <matt@cyngn.com>2015-04-01 00:43:19 (GMT)
commita0db9234402fa85dab1a5ec408f96413f3a0a157 (patch)
tree33243e34bb4e9ed156b27dd5ca3c4033e913dd0b
parent4c3b2364453fb21dc3f3f8a70e1bcc64e500d83d (diff)
downloadandroid_packages_apps_Trebuchet-a0db9234402fa85dab1a5ec408f96413f3a0a157.zip
android_packages_apps_Trebuchet-a0db9234402fa85dab1a5ec408f96413f3a0a157.tar.gz
android_packages_apps_Trebuchet-a0db9234402fa85dab1a5ec408f96413f3a0a157.tar.bz2
Filter apps for app drawer only after custom sorting.
The custom sorting logic for CTAPP mode removes duplicate apps from mApps. This must complete before the call to filter mApps into mFilteredApps. Change-Id: I915b976bf77ed8714c3bdc7dfe0155feb97bf2b7
-rw-r--r--src/com/android/launcher3/AppsCustomizePagedView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AppsCustomizePagedView.java b/src/com/android/launcher3/AppsCustomizePagedView.java
index a28cca82..0e64723 100644
--- a/src/com/android/launcher3/AppsCustomizePagedView.java
+++ b/src/com/android/launcher3/AppsCustomizePagedView.java
@@ -1690,8 +1690,8 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
addPreInstallApps();
}
- filterAppsWithoutInvalidate();
sortByCustomization();
+ filterAppsWithoutInvalidate();
updatePageCountsAndInvalidateData();
}
}