Explorar el Código

Fixed AddCommandShortcutActivity

develop
Robin Thoni hace 6 años
padre
commit
0c2b5e980e

+ 1
- 1
app/src/main/java/com/rthoni/camotion/ui/AddCommandShortcutActivity.java Ver fichero

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

Loading…
Cancelar
Guardar