diff options
author | orionlee <orionlee@yahoo.com> | 2019-01-11 13:54:20 -0800 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-01-11 13:54:20 -0800 |
commit | b1979145300ef0eda12d0face11f4fa632465e17 (patch) | |
tree | 707698c4699d7d33b1aab95e9c3609a86c136ba5 /app | |
parent | 5f0a850dd82f6ae0d3c13e8d217a48b905e8909c (diff) | |
download | AntennaPod-b1979145300ef0eda12d0face11f4fa632465e17.zip |
#2950 - fix app crash in OPML Export > Send flow
(for non-production builds)
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java index 31b2cbcb2..ca1f9d722 100644 --- a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java +++ b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java @@ -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)); |