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:44:50 (GMT)
commit19be2503a447d99a3a3f8623cf7e146aadf423b5 (patch)
tree5ce93e9f6dbd244a65708d141b33dd9396e7b501
parent68cbd38c650b017b8fdb612d2f4da9c4fb4aaddf (diff)
downloadandroid_packages_apps_Trebuchet-19be2503a447d99a3a3f8623cf7e146aadf423b5.zip
android_packages_apps_Trebuchet-19be2503a447d99a3a3f8623cf7e146aadf423b5.tar.gz
android_packages_apps_Trebuchet-19be2503a447d99a3a3f8623cf7e146aadf423b5.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 (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 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();
}
}