Merge "Cleaning up icon code."

This commit is contained in:
Winson Chung
2011-05-05 15:41:26 -07:00
committed by Android (Google) Code Review
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);