From 19be2503a447d99a3a3f8623cf7e146aadf423b5 Mon Sep 17 00:00:00 2001 From: Matt Garnes Date: Tue, 31 Mar 2015 17:40:01 -0700 Subject: 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 (cherry picked from commit a0db9234402fa85dab1a5ec408f96413f3a0a157) --- src/com/android/launcher3/AppsCustomizePagedView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v0.11.2