@@ -87,7 +87,7 @@ public class AddCommandShortcutActivity extends Activity {
intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, command.getName());
intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
- sendBroadcast(intent);
+ setResult(RESULT_OK, intent);
finish();
}