Loading core/java/android/nfc/INfcTag.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ interface INfcTag { int close(int nativeHandle); int connect(int nativeHandle); int reconnect(int nativeHandle); int[] getTechList(int nativeHandle); byte[] getUid(int nativeHandle); boolean isNdef(int nativeHandle); Loading core/java/android/nfc/technology/BasicTagTechnology.java +4 −1 Original line number Diff line number Diff line Loading @@ -162,7 +162,10 @@ import android.util.Log; public void close() { mIsConnected = false; try { mTagService.close(mTag.getServiceHandle()); /* Note that we don't want to physically disconnect the tag, * but just reconnect to it to reset its state */ mTagService.reconnect(mTag.getServiceHandle()); } catch (RemoteException e) { attemptDeadServiceRecovery(e); } Loading Loading
core/java/android/nfc/INfcTag.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ interface INfcTag { int close(int nativeHandle); int connect(int nativeHandle); int reconnect(int nativeHandle); int[] getTechList(int nativeHandle); byte[] getUid(int nativeHandle); boolean isNdef(int nativeHandle); Loading
core/java/android/nfc/technology/BasicTagTechnology.java +4 −1 Original line number Diff line number Diff line Loading @@ -162,7 +162,10 @@ import android.util.Log; public void close() { mIsConnected = false; try { mTagService.close(mTag.getServiceHandle()); /* Note that we don't want to physically disconnect the tag, * but just reconnect to it to reset its state */ mTagService.reconnect(mTag.getServiceHandle()); } catch (RemoteException e) { attemptDeadServiceRecovery(e); } Loading