* commit 'e7afa51bd8f0f0b9f21bd63a9ceeb9f330259fc2': Fixing typo from previous CL
This commit is contained in:
@@ -1291,6 +1291,7 @@ public class LauncherProvider extends ContentProvider {
|
|||||||
int appWidgetId = mAppWidgetHost.allocateAppWidgetId();
|
int appWidgetId = mAppWidgetHost.allocateAppWidgetId();
|
||||||
values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
|
values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
|
||||||
if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) {
|
if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
Log.e(TAG, "Failed to initialize external widget", e);
|
Log.e(TAG, "Failed to initialize external widget", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user