Move wallpapers to external activity

Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a 
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
This commit is contained in:
Michael Jurka
2013-09-04 00:45:37 +02:00
parent 8b3cd79082
commit eadbfc564d
49 changed files with 162 additions and 175 deletions
@@ -40,7 +40,7 @@ public class PagedViewIconCache {
private final ComponentName mComponentName;
private final Type mType;
public Key(ApplicationInfo info) {
public Key(AppInfo info) {
mComponentName = info.componentName;
mType = Type.ApplicationInfoKey;
}
@@ -95,9 +95,9 @@ public class PagedViewIconCache {
}
}
/** Removes all the keys to applications that aren't in the passed in collection */
public void retainAllApps(ArrayList<ApplicationInfo> keys) {
public void retainAllApps(ArrayList<AppInfo> keys) {
HashSet<Key> keysSet = new HashSet<Key>();
for (ApplicationInfo info : keys) {
for (AppInfo info : keys) {
keysSet.add(new Key(info));
}
retainAll(keysSet, Key.Type.ApplicationInfoKey);