Add K-9 Mail warning toast

This commit is contained in:
Dominik Schürmann committed 2015-09-17 10:16:59 +02:00
1 parent f77a6a85ee
commit acbb857f24
2 files changed
+6 -1

No files matched your search

@@ -162,6 +162,10 @@ public class DecryptActivity extends BaseActivity {
Uri uri = intent.getData();
if (uri != null) {
if ("com.fsck.k9.attachmentprovider".equals(uri.getHost())) {
Toast.makeText(this, R.string.error_reading_k9, Toast.LENGTH_LONG).show();
}
if ("com.android.email.attachmentprovider".equals(uri.getHost())) {
Toast.makeText(this, R.string.error_reading_aosp, Toast.LENGTH_LONG).show();
finish();