Tagging where ItemInfos are created for debug purposes

Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
This commit is contained in:
Michael Jurka
2011-08-29 14:02:47 -07:00
parent fe1f9b0bd4
commit b60fd0eafb
12 changed files with 65 additions and 39 deletions

View File

@@ -91,7 +91,7 @@ class AllAppsList {
if (matches.size() > 0) {
for (ResolveInfo info : matches) {
add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null));
add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null, "15"));
}
}
}
@@ -142,7 +142,7 @@ class AllAppsList {
info.activityInfo.applicationInfo.packageName,
info.activityInfo.name);
if (applicationInfo == null) {
add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null));
add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null, "16"));
} else {
mIconCache.remove(applicationInfo.componentName);
mIconCache.getTitleAndIcon(applicationInfo, info, null);