Fix appwidget bind dialog
Bug: 6926529 Change-Id: I19327a6346b6e7da61a49a983b3373058db21f12
This commit is contained in:
@@ -57,8 +57,8 @@ public class AllowBindAppWidgetActivity extends AlertActivity implements
|
||||
try {
|
||||
mAppWidgetManager.bindAppWidgetId(mAppWidgetId, mComponentName);
|
||||
Intent result = new Intent();
|
||||
result.putExtra("EXTRA_APPWIDGET_ID", mAppWidgetId);
|
||||
setResult(RESULT_OK);
|
||||
result.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId);
|
||||
setResult(RESULT_OK, result);
|
||||
} catch (Exception e) {
|
||||
Log.v("BIND_APPWIDGET", "Error binding widget with id "
|
||||
+ mAppWidgetId + " and component " + mComponentName);
|
||||
|
Reference in New Issue
Block a user