Generally it occurred that I've used AbstractAppCompatPluginActivity implementation which finish() didn't use getResultBundle into account. After calling setResult explicity, then I can set needed config data like this:
final Bundle resultBundle = getResultBundle();
if(resultBundle != null) {
String blurb = getResultBlurb(resultBundle);
Intent resultIntent = new Intent();
resultIntent.putExtra(com.twofortyfouram.locale.api.Intent.EXTRA_BUNDLE, resultBundle);
resultIntent.putExtra(com.twofortyfouram.locale.api.Intent.EXTRA_STRING_BLURB, blurb);
setResult(RESULT_OK, resultIntent);
Thanks for help.
finish();
W dniu sobota, 30 lipca 2016 10:26:07 UTC+2 użytkownik m napisał: