diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-11-17 15:25:58 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-11-17 15:25:58 +0100 |
commit | c7b8d3648a7b961b3c02a81b0dbed16183d22712 (patch) | |
tree | f333faea39d4ad0902be6f2268f38de6775c109f | |
parent | ceecc8ffe75093f78b05cd4c7f14bbe82e2f5d38 (diff) | |
parent | 55957a77b38aae045d92d406680cceac08ab99a1 (diff) |
Merge pull request #679 from SamWhited/lintfix
Fix broken SuppressLint
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java index c88cd322..780f0217 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConferenceDetailsActivity.java @@ -1,10 +1,11 @@ package eu.siacs.conversations.ui; -import android.annotation.SuppressLint; +import android.annotation.TargetApi; import android.app.PendingIntent; import android.content.Context; import android.content.IntentSender.SendIntentException; import android.graphics.Bitmap; +import android.os.Build; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; @@ -259,7 +260,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers } } - @SuppressLint("JELLY_BEAN") + @TargetApi(Build.VERSION_CODES.JELLY_BEAN) private void setListItemBackgroundOnView(View view) { int sdk = android.os.Build.VERSION.SDK_INT; if (sdk < android.os.Build.VERSION_CODES.JELLY_BEAN) { |