Merge pull request #2979 from orionlee/bugfix_opml_export_send_2950
#2950 - fix app crash in OPML Export > Send flow
This commit is contained in:
commit
a9b3df9344
|
@ -659,7 +659,7 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
|
|||
alert.setMessage(message);
|
||||
alert.setPositiveButton(R.string.send_label, (dialog, which) -> {
|
||||
Uri fileUri = FileProvider.getUriForFile(context.getApplicationContext(),
|
||||
"de.danoeh.antennapod.provider", output);
|
||||
context.getString(R.string.provider_authority), output);
|
||||
Intent sendIntent = new Intent(Intent.ACTION_SEND);
|
||||
sendIntent.putExtra(Intent.EXTRA_SUBJECT,
|
||||
context.getResources().getText(R.string.opml_export_label));
|
||||
|
|
Loading…
Reference in New Issue