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

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

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

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