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

Commit 7464e441 authored by George Chang's avatar George Chang Committed by Gerrit Code Review
Browse files

Merge "Fix warnings from static analysis tool."

parents 36dc7b98 0d7ad873
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: