summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2014-10-14 22:09:00 (GMT)
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-14 22:09:00 (GMT)
commitae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8 (patch)
treecba62d0d64153aa2169651696bc238591341d679
parent755dd70238162d0b631a8a17c42047c61318be30 (diff)
parentd61a638e992ccdd2ea7fbc59dd2c5047c0e3051b (diff)
downloadandroid_packages_apps_Trebuchet-ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8.zip
android_packages_apps_Trebuchet-ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8.tar.gz
android_packages_apps_Trebuchet-ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8.tar.bz2
Merge "Fixing typo from previous CL" into ub-now-porkchop
-rw-r--r--src/com/android/launcher3/LauncherProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherProvider.java b/src/com/android/launcher3/LauncherProvider.java
index 670780a..6cc1688 100644
--- a/src/com/android/launcher3/LauncherProvider.java
+++ b/src/com/android/launcher3/LauncherProvider.java
@@ -1291,6 +1291,7 @@ public class LauncherProvider extends ContentProvider {
int appWidgetId = mAppWidgetHost.allocateAppWidgetId();
values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) {
+ return false;
}
} catch (RuntimeException e) {
Log.e(TAG, "Failed to initialize external widget", e);