summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2010-08-26 11:50:28 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-08-26 11:50:28 -0700
commitcc45381e596c6d2b351d2c5e9d07f4113e1d58b6 (patch)
tree189e02f19be0ab3c138b3c536966e071a6677de1 /services/java
parent62dbd82aad0f84c88212566321e3fb370affaf7c (diff)
parent94258cd70438e444e139a26da12fd7e5a8782332 (diff)
downloadframeworks_base-cc45381e596c6d2b351d2c5e9d07f4113e1d58b6.zip
frameworks_base-cc45381e596c6d2b351d2c5e9d07f4113e1d58b6.tar.gz
frameworks_base-cc45381e596c6d2b351d2c5e9d07f4113e1d58b6.tar.bz2
Merge "Fix typo that makes apps on sd work better with app widgets." into gingerbread
Diffstat (limited to 'services/java')
-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 {