summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AllApps2D.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-03-05 15:05:52 -0500
committerJoe Onorato <joeo@android.com>2010-03-10 13:42:32 -0800
commit64e6be78dc72e1a89fe8fb95c502586f9260df28 (patch)
tree3836e1dfd9891a5fc0b900b99f5158b7fa729c85 /src/com/android/launcher2/AllApps2D.java
parentc36f2455aba21448a130b9a5e2a118a379745c37 (diff)
downloadandroid_packages_apps_Trebuchet-64e6be78dc72e1a89fe8fb95c502586f9260df28.tar.gz
android_packages_apps_Trebuchet-64e6be78dc72e1a89fe8fb95c502586f9260df28.tar.bz2
android_packages_apps_Trebuchet-64e6be78dc72e1a89fe8fb95c502586f9260df28.zip
Refactor the app updates so that it doesn't rely on the package name.
This will be needed for the upcoming change to update the icons with the grayed out when the SD card goes away.
Diffstat (limited to 'src/com/android/launcher2/AllApps2D.java')
-rw-r--r--src/com/android/launcher2/AllApps2D.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/AllApps2D.java b/src/com/android/launcher2/AllApps2D.java
index 1262880fc..0bb4ee95f 100644
--- a/src/com/android/launcher2/AllApps2D.java
+++ b/src/com/android/launcher2/AllApps2D.java
@@ -279,7 +279,7 @@ public class AllApps2D
mAppsAdapter.notifyDataSetChanged();
}
- public void updateApps(String packageName, ArrayList<ApplicationInfo> list) {
+ public void updateApps(ArrayList<ApplicationInfo> list) {
// Just remove and add, because they may need to be re-sorted.
removeApps(list);
addApps(list);