summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AllAppsList.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-10-30 13:52:20 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-10-31 11:00:28 -0700
commit076839c321e26f055387346d594f20c88b54dfa7 (patch)
treedf562ee477300f430ca73949d09e1a8aa86a3e25 /src/com/android/launcher3/AllAppsList.java
parent9d341964a0527391daa07dc112c5579b55edbb96 (diff)
downloadandroid_packages_apps_Trebuchet-076839c321e26f055387346d594f20c88b54dfa7.tar.gz
android_packages_apps_Trebuchet-076839c321e26f055387346d594f20c88b54dfa7.tar.bz2
android_packages_apps_Trebuchet-076839c321e26f055387346d594f20c88b54dfa7.zip
Moving various runtime flags into the common base class.
Caching the ststemApp status for workspace shortcuts. Change-Id: I25663e1f04a9768afcca000294adcbb00ea1db7b
Diffstat (limited to 'src/com/android/launcher3/AllAppsList.java')
-rw-r--r--src/com/android/launcher3/AllAppsList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AllAppsList.java b/src/com/android/launcher3/AllAppsList.java
index 8ac857082..5eb6cc72d 100644
--- a/src/com/android/launcher3/AllAppsList.java
+++ b/src/com/android/launcher3/AllAppsList.java
@@ -154,7 +154,7 @@ public class AllAppsList {
for (int i = data.size() - 1; i >= 0; i--) {
AppInfo info = data.get(i);
if (matcher.matches(info, info.componentName)) {
- info.isDisabled = op.apply(info.isDisabled);
+ info.runtimeStatusFlags = op.apply(info.runtimeStatusFlags);
modified.add(info);
}
}