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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user