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

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

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

* commit '29e55bef':
  NFC: getNdefMessage() should throw exception if no tag in field.
parents 9a9916b5 29e55bef
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;
            }
            }