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

Commit 29e55bef authored by Martijn Coenen's avatar Martijn Coenen Committed by Gerrit Code Review
Browse files

Merge "NFC: getNdefMessage() should throw exception if no tag in field."

parents 2383f220 266e0a38
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -278,6 +278,8 @@ public final class Ndef extends BasicTagTechnology {
                    throw new TagLostException();
                }
                return msg;
            } else if (!tagService.isPresent(serviceHandle)) {
                throw new TagLostException();
            } else {
                return null;
            }