summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Garnes <matt@cyngn.com>2015-03-31 17:40:01 -0700
committerMatt Garnes <matt@cyngn.com>2015-04-01 00:43:19 +0000
commita0db9234402fa85dab1a5ec408f96413f3a0a157 (patch)
tree33243e34bb4e9ed156b27dd5ca3c4033e913dd0b
parent4c3b2364453fb21dc3f3f8a70e1bcc64e500d83d (diff)
downloadandroid_packages_apps_Trebuchet-a0db9234402fa85dab1a5ec408f96413f3a0a157.tar.gz
android_packages_apps_Trebuchet-a0db9234402fa85dab1a5ec408f96413f3a0a157.tar.bz2
android_packages_apps_Trebuchet-a0db9234402fa85dab1a5ec408f96413f3a0a157.zip
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 a28cca827..0e64723b4 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();
}
}