From 8b93d37b393b41eb404058969f844ed75dd81470 Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 7 Apr 2014 20:00:14 +0200 Subject: [PATCH] Suppress warning about "inlined API" --- src/com/fsck/k9/activity/MessageCompose.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index d82e565b9..fa3875f04 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -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();