summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2010-08-26 11:54:59 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-26 11:54:59 -0700
commit32982c701cee6f73262200468419b80343a0bea7 (patch)
tree6f0444764816adc7741ff2c90d38ca40021c933a /services
parentb318ef79d5018fdf492ba254438e2d9f1c0fff4c (diff)
parentcc45381e596c6d2b351d2c5e9d07f4113e1d58b6 (diff)
downloadframeworks_base-32982c701cee6f73262200468419b80343a0bea7.zip
frameworks_base-32982c701cee6f73262200468419b80343a0bea7.tar.gz
frameworks_base-32982c701cee6f73262200468419b80343a0bea7.tar.bz2
am cc45381e: Merge "Fix typo that makes apps on sd work better with app widgets." into gingerbread
Merge commit 'cc45381e596c6d2b351d2c5e9d07f4113e1d58b6' into gingerbread-plus-aosp * commit 'cc45381e596c6d2b351d2c5e9d07f4113e1d58b6': Fix typo that makes apps on sd work better with app widgets.
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/AppWidgetService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/AppWidgetService.java b/services/java/com/android/server/AppWidgetService.java
index 3ed6c12..8ff3545 100644
--- a/services/java/com/android/server/AppWidgetService.java
+++ b/services/java/com/android/server/AppWidgetService.java
@@ -1099,7 +1099,7 @@ class AppWidgetService extends IAppWidgetService.Stub
if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) {
pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
added = true;
- } if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
+ } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
pkgList = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
added = false;
} else {