check for older targets

This commit is contained in:
Frank Morgner
2015-07-18 04:12:01 +02:00
parent d6b20d6cdd
commit 37b5cd1bb6

View File

@@ -19,6 +19,7 @@
package com.vsmartcard.remotesmartcardreader.app; package com.vsmartcard.remotesmartcardreader.app;
import android.annotation.TargetApi;
import android.app.Activity; import android.app.Activity;
import android.app.PendingIntent; import android.app.PendingIntent;
import android.content.ClipData; 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.NFCReader;
import com.vsmartcard.remotesmartcardreader.app.screaders.SCReader; import com.vsmartcard.remotesmartcardreader.app.screaders.SCReader;
@TargetApi(Build.VERSION_CODES.KITKAT)
public class MainActivity extends Activity implements NfcAdapter.ReaderCallback { public class MainActivity extends Activity implements NfcAdapter.ReaderCallback {
class VPCDHandler extends Handler { class VPCDHandler extends Handler {