am ab66ed2e: Merge "This variable can be checked outside the lock because it\'s only set from the ui thread." into froyo

Merge commit 'ab66ed2e067cbd1bc415b6cf66f3b5191b166461'

* commit 'ab66ed2e067cbd1bc415b6cf66f3b5191b166461':
  This variable can be checked outside the lock because it's only
This commit is contained in:
Joe Onorato authored and Android Git Automerger committed 2010-06-11 11:15:14 -07:00
commit 8fc05199d6
1 file changed
+6 -6
+6 -6
View File
@@ -304,13 +304,13 @@ public class LauncherModel extends BroadcastReceiver {
ArrayList<ApplicationInfo> removed = null;
ArrayList<ApplicationInfo> modified = null;
synchronized (mAllAppsListLock) {
if (mBeforeFirstLoad) {
// If we haven't even loaded yet, don't bother, since we'll just pick
// up the changes.
return;
}
if (mBeforeFirstLoad) {
// If we haven't even loaded yet, don't bother, since we'll just pick
// up the changes.
return;
}
synchronized (mAllAppsListLock) {
final String action = intent.getAction();
if (Intent.ACTION_PACKAGE_CHANGED.equals(action)