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

Merge commit '0c4513e55904b022a161456d699d6c1f414f0936' into eclair-mr2

* commit '0c4513e55904b022a161456d699d6c1f414f0936':
  This might fix bug 2262272 - Apps list empty
This commit is contained in:
Joe Onorato
2009-11-19 14:56:53 -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() {