summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllAppsList.java
diff options
context:
space:
mode:
authorPatrick Dubroy <dubroy@google.com>2010-07-29 13:59:29 -0700
committerPatrick Dubroy <dubroy@google.com>2010-07-29 16:09:27 -0700
commit3d605d5bbef35e3b8aded44c5ef7fe3948f8f7d5 (patch)
tree216edf8f43ee0bf95fc14311b5540ff41c5f2a5d /src/com/android/launcher2/AllAppsList.java
parent9460f884233b009ada4e99fcdc50d2a0246b4fcc (diff)
downloadandroid_packages_apps_Trebuchet-3d605d5bbef35e3b8aded44c5ef7fe3948f8f7d5.tar.gz
android_packages_apps_Trebuchet-3d605d5bbef35e3b8aded44c5ef7fe3948f8f7d5.tar.bz2
android_packages_apps_Trebuchet-3d605d5bbef35e3b8aded44c5ef7fe3948f8f7d5.zip
Make tabs in all apps actually filter the list of apps.
Diffstat (limited to 'src/com/android/launcher2/AllAppsList.java')
-rw-r--r--src/com/android/launcher2/AllAppsList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher2/AllAppsList.java b/src/com/android/launcher2/AllAppsList.java
index e5d878226..4c9bc5eca 100644
--- a/src/com/android/launcher2/AllAppsList.java
+++ b/src/com/android/launcher2/AllAppsList.java
@@ -91,7 +91,7 @@ class AllAppsList {
if (matches.size() > 0) {
for (ResolveInfo info : matches) {
- add(new ApplicationInfo(info, mIconCache));
+ add(new ApplicationInfo(context.getPackageManager(), info, mIconCache));
}
}
}
@@ -142,7 +142,7 @@ class AllAppsList {
info.activityInfo.applicationInfo.packageName,
info.activityInfo.name);
if (applicationInfo == null) {
- add(new ApplicationInfo(info, mIconCache));
+ add(new ApplicationInfo(context.getPackageManager(), info, mIconCache));
} else {
mIconCache.remove(applicationInfo.componentName);
mIconCache.getTitleAndIcon(applicationInfo, info);