am e7afa51b: am ae5f7ce8: Merge "Fixing typo from previous CL" into ub-now-porkchop

* commit 'e7afa51bd8f0f0b9f21bd63a9ceeb9f330259fc2':
  Fixing typo from previous CL
This commit is contained in:
Adam Cohen
2014-10-18 16:08:18 +00:00
committed by Android Git Automerger
@@ -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);