am d8932773: am 0c4513e5: This might fix bug 2262272 - Apps list empty

Merge commit 'd89327738adb80396d86f7c11c342468198edfd2' into eclair-mr2-plus-aosp

* commit 'd89327738adb80396d86f7c11c342468198edfd2':
  This might fix bug 2262272 - Apps list empty
This commit is contained in:
Joe Onorato
2009-11-19 15:08:12 -08:00
committed by Android Git Automerger
+3 -1
View File
@@ -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() {