#2950 - fix app crash in OPML Export > Send flow
(for non-production builds)
This commit is contained in:
parent
5f0a850dd8
commit
b197914530
|
@ -659,7 +659,7 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
|
||||||
alert.setMessage(message);
|
alert.setMessage(message);
|
||||||
alert.setPositiveButton(R.string.send_label, (dialog, which) -> {
|
alert.setPositiveButton(R.string.send_label, (dialog, which) -> {
|
||||||
Uri fileUri = FileProvider.getUriForFile(context.getApplicationContext(),
|
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);
|
Intent sendIntent = new Intent(Intent.ACTION_SEND);
|
||||||
sendIntent.putExtra(Intent.EXTRA_SUBJECT,
|
sendIntent.putExtra(Intent.EXTRA_SUBJECT,
|
||||||
context.getResources().getText(R.string.opml_export_label));
|
context.getResources().getText(R.string.opml_export_label));
|
||||||
|
|
Loading…
Reference in New Issue