Merge pull request #625 from SamWhited/linterfix

Make linter ignore properly checked API mismatch
This commit is contained in:
Daniel Gultsch 2014-11-04 17:59:26 +01:00
commit ff22f93185
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package eu.siacs.conversations.ui; package eu.siacs.conversations.ui;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.ActionBar; import android.app.ActionBar;
import android.app.ActionBar.Tab; import android.app.ActionBar.Tab;
import android.app.ActionBar.TabListener; import android.app.ActionBar.TabListener;
@ -572,6 +573,7 @@ public class StartConversationActivity extends XmppActivity {
setIntent(null); setIntent(null);
} }
@TargetApi(16)
protected boolean handleIntent(Intent intent) { protected boolean handleIntent(Intent intent) {
if (intent == null || intent.getAction() == null) { if (intent == null || intent.getAction() == null) {
return false; return false;