#2950 - fix app crash in OPML Export > Send flow

(for non-production builds)
This commit is contained in:
orionlee 2019-01-11 13:54:20 -08:00
parent 5f0a850dd8
commit b197914530
1 changed files with 1 additions and 1 deletions

View File

@ -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));