Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbd6a61f authored by George Chang's avatar George Chang Committed by Automerger Merge Worker
Browse files

Merge "Fix warnings from static analysis tool." am: 7464e441

parents 9fffabf7 7464e441
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: