Cleaning up icon code.
- Changing long-press on homescreen to bring up wallpaper picker. Change-Id: I854b1b7dc5a102e95853732d6e9a4fa298144650
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user