Loading core/java/android/nfc/tech/NdefFormatable.java +3 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,9 @@ public final class NdefFormatable extends BasicTagTechnology { try { int serviceHandle = mTag.getServiceHandle(); INfcTag tagService = mTag.getTagService(); if (tagService == null) { throw new IOException(); } int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); switch (errorCode) { case ErrorCodes.SUCCESS: Loading Loading
core/java/android/nfc/tech/NdefFormatable.java +3 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,9 @@ public final class NdefFormatable extends BasicTagTechnology { try { int serviceHandle = mTag.getServiceHandle(); INfcTag tagService = mTag.getTagService(); if (tagService == null) { throw new IOException(); } int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); switch (errorCode) { case ErrorCodes.SUCCESS: Loading