app/src/main/java/com/dayu/recharge/activity/BaseNfcActivity.java
@@ -5,6 +5,7 @@ */ import android.app.Activity; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; @@ -96,7 +97,7 @@ * * @return */ protected Boolean ifNFCUse(Context context) { protected Boolean ifNFCUse(Activity context) { if (mNfcAdapter == null) { TipUtil.show(context, "设备不支持NFC!"); return false;