From 37b5cd1bb6b39e38bb315209a5d868ffbd0eccfc Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Sat, 18 Jul 2015 04:12:01 +0200 Subject: [PATCH] check for older targets --- .../com/vsmartcard/remotesmartcardreader/app/MainActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/remote-reader/app/src/main/java/com/vsmartcard/remotesmartcardreader/app/MainActivity.java b/remote-reader/app/src/main/java/com/vsmartcard/remotesmartcardreader/app/MainActivity.java index 953a809..3e80709 100644 --- a/remote-reader/app/src/main/java/com/vsmartcard/remotesmartcardreader/app/MainActivity.java +++ b/remote-reader/app/src/main/java/com/vsmartcard/remotesmartcardreader/app/MainActivity.java @@ -19,6 +19,7 @@ package com.vsmartcard.remotesmartcardreader.app; +import android.annotation.TargetApi; import android.app.Activity; import android.app.PendingIntent; import android.content.ClipData; @@ -51,6 +52,7 @@ import com.vsmartcard.remotesmartcardreader.app.screaders.DummyReader; import com.vsmartcard.remotesmartcardreader.app.screaders.NFCReader; import com.vsmartcard.remotesmartcardreader.app.screaders.SCReader; +@TargetApi(Build.VERSION_CODES.KITKAT) public class MainActivity extends Activity implements NfcAdapter.ReaderCallback { class VPCDHandler extends Handler {