Fixing typo from previous CL
Bug 17969770 Change-Id: I4ea04864000d2ed8368ca81ba8cff42b4208d13d
This commit is contained in:
parent
eb1ac42fd4
commit
d61a638e99
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue