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:
H. Lehmann 2019-01-11 23:05:29 +01:00 committed by GitHub
commit a9b3df9344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.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));