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

Commit ae2a35ba authored by Martijn Coenen's avatar Martijn Coenen Committed by Android Git Automerger
Browse files

am 4d328a79: am a43f7cb0: am 1507c18f: am 29e55bef: Merge "NFC:...

am 4d328a79: am a43f7cb0: am 1507c18f: am 29e55bef: Merge "NFC: getNdefMessage() should throw exception if no tag in field."

* commit '4d328a79':
  NFC: getNdefMessage() should throw exception if no tag in field.
parents 391d489c 4d328a79
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -277,6 +277,8 @@ public final class Ndef extends BasicTagTechnology {
                    throw new TagLostException();
                }
                return msg;
            } else if (!tagService.isPresent(serviceHandle)) {
                throw new TagLostException();
            } else {
                return null;
            }