Cleaning up icon code.

- Changing long-press on homescreen to bring up wallpaper picker.

Change-Id: I854b1b7dc5a102e95853732d6e9a4fa298144650
This commit is contained in:
Winson Chung committed 2011-05-05 15:22:05 -07:00
1 parent fd6e4511b0
commit 4dbea7920a
5 files changed
+9 -23

No files matched your search

@@ -1658,17 +1658,6 @@ public class LauncherModel extends BroadcastReceiver {
return folderInfo;
}
private static String getLabel(PackageManager manager, ActivityInfo activityInfo) {
String label = activityInfo.loadLabel(manager).toString();
if (label == null) {
label = manager.getApplicationLabel(activityInfo.applicationInfo).toString();
if (label == null) {
label = activityInfo.name;
}
}
return label;
}
private static final Collator sCollator = Collator.getInstance();
public static final Comparator<ApplicationInfo> APP_NAME_COMPARATOR
= new Comparator<ApplicationInfo>() {