diff options
author | Joe Onorato <joeo@android.com> | 2009-11-19 17:43:51 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-19 17:43:51 -0800 |
commit | 1264627c2e471dc8ee45833f2b1f6af864e13cd8 (patch) | |
tree | fd9b95dc7198559b6ab050aca8213675b4fc4526 | |
parent | 7d7dc784b2cb00d69bc4f76676e6e1a5b9644be6 (diff) | |
parent | faf39eb178854dd7a3549cd4b8f98358a5cce4a4 (diff) | |
download | android_packages_apps_Trebuchet-1264627c2e471dc8ee45833f2b1f6af864e13cd8.tar.gz android_packages_apps_Trebuchet-1264627c2e471dc8ee45833f2b1f6af864e13cd8.tar.bz2 android_packages_apps_Trebuchet-1264627c2e471dc8ee45833f2b1f6af864e13cd8.zip |
am faf39eb1: am d8932773: am 0c4513e5: This might fix bug 2262272 - Apps list empty
Merge commit 'faf39eb178854dd7a3549cd4b8f98358a5cce4a4'
* commit 'faf39eb178854dd7a3549cd4b8f98358a5cce4a4':
This might fix bug 2262272 - Apps list empty
-rw-r--r-- | src/com/android/launcher2/LauncherModel.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java index 85d47a916..6b4d3f4a4 100644 --- a/src/com/android/launcher2/LauncherModel.java +++ b/src/com/android/launcher2/LauncherModel.java @@ -980,7 +980,9 @@ public class LauncherModel extends BroadcastReceiver { private void bindAllApps() { synchronized (mLock) { - final ArrayList<ApplicationInfo> results = mAllAppsList.added; + final ArrayList<ApplicationInfo> results + = (ArrayList<ApplicationInfo>)mAllAppsList.data.clone(); + // We're adding this now, so clear out this so we don't re-send them. mAllAppsList.added = new ArrayList<ApplicationInfo>(); mHandler.post(new Runnable() { public void run() { |