mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Suppress warning about "inlined API"
This commit is contained in:
parent
136bdbc483
commit
8b93d37b39
@ -1,6 +1,7 @@
|
||||
package com.fsck.k9.activity;
|
||||
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.PendingIntent;
|
||||
@ -2167,6 +2168,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
|
||||
* @param mime_type
|
||||
* The MIME type we want our attachment to have.
|
||||
*/
|
||||
@SuppressLint("InlinedApi")
|
||||
private void onAddAttachment2(final String mime_type) {
|
||||
if (mAccount.getCryptoProvider().isAvailable(this) || mAccount.getOpenPgpProvider() != null) {
|
||||
Toast.makeText(this, R.string.attachment_encryption_unsupported, Toast.LENGTH_LONG).show();
|
||||
|
Loading…
Reference in New Issue
Block a user