NfcService updates for NfcAdapterExtras API change.
(removing registerTearDownApdus(), adding authenticate())
Change-Id: Ie1b0f7f088317ff3e52721158b0e588dfda14ce4
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java
index 80cf018..6c536d5 100755
--- a/src/com/android/nfc/NfcService.java
+++ b/src/com/android/nfc/NfcService.java
@@ -1890,17 +1890,8 @@
}
@Override
- public void registerTearDownApdus(String packageName, ApduList apdu) throws RemoteException {
+ public void authenticate(byte[] token) throws RemoteException {
NfcService.enforceNfceeAdminPerm(mContext);
- Log.w(TAG, "NOP");
- //TODO: Remove this API
- }
-
- @Override
- public void unregisterTearDownApdus(String packageName) throws RemoteException {
- NfcService.enforceNfceeAdminPerm(mContext);
- Log.w(TAG, "NOP");
- //TODO: Remove this API
}
};