diff options
author | Michael Jurka <mikejurka@google.com> | 2013-09-04 00:45:37 +0200 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2013-09-04 16:21:20 +0200 |
commit | eadbfc564d84aaf1d800da3d0d6edf6312f89648 (patch) | |
tree | 8bb3858af8f7e2d7bbcf8ccff4b8904856d1c376 /src/com/android/launcher3/PagedViewIconCache.java | |
parent | 8b3cd79082043a08c319f1550679d4078b7d509c (diff) | |
download | android_packages_apps_Trebuchet-eadbfc564d84aaf1d800da3d0d6edf6312f89648.tar.gz android_packages_apps_Trebuchet-eadbfc564d84aaf1d800da3d0d6edf6312f89648.tar.bz2 android_packages_apps_Trebuchet-eadbfc564d84aaf1d800da3d0d6edf6312f89648.zip |
Move wallpapers to external activity
Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class
Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
Diffstat (limited to 'src/com/android/launcher3/PagedViewIconCache.java')
-rw-r--r-- | src/com/android/launcher3/PagedViewIconCache.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher3/PagedViewIconCache.java b/src/com/android/launcher3/PagedViewIconCache.java index 0d03b5a52..8d8924b7e 100644 --- a/src/com/android/launcher3/PagedViewIconCache.java +++ b/src/com/android/launcher3/PagedViewIconCache.java @@ -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); |