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:44:50 +0000
commit19be2503a447d99a3a3f8623cf7e146aadf423b5 (patch)
tree5ce93e9f6dbd244a65708d141b33dd9396e7b501
parent68cbd38c650b017b8fdb612d2f4da9c4fb4aaddf (diff)
downloadandroid_packages_apps_Trebuchet-19be2503a447d99a3a3f8623cf7e146aadf423b5.tar.gz
android_packages_apps_Trebuchet-19be2503a447d99a3a3f8623cf7e146aadf423b5.tar.bz2
android_packages_apps_Trebuchet-19be2503a447d99a3a3f8623cf7e146aadf423b5.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 (cherry picked from commit a0db9234402fa85dab1a5ec408f96413f3a0a157)
-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();
}
}