Cleaning up icon code.

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

Change-Id: I854b1b7dc5a102e95853732d6e9a4fa298144650
This commit is contained in:
Winson Chung
2011-05-05 14:21:32 -07:00
parent fd6e4511b0
commit 4dbea7920a
5 changed files with 9 additions and 23 deletions
@@ -301,13 +301,8 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
}
});
Comparator<ResolveInfo> resolveInfoComparator = new Comparator<ResolveInfo>() {
@Override
public int compare(ResolveInfo object1, ResolveInfo object2) {
return object1.loadLabel(mPackageManager).toString().compareTo(
object2.loadLabel(mPackageManager).toString());
}
};
LauncherModel.ShortcutNameComparator resolveInfoComparator =
new LauncherModel.ShortcutNameComparator(mPackageManager);
// get the list of shortcuts
Intent shortcutsIntent = new Intent(Intent.ACTION_CREATE_SHORTCUT);