am 4d328a79: am a43f7cb0: am 1507c18f: am 29e55bef: Merge "NFC: getNdefMessage() should throw exception if no tag in field."
* commit '4d328a79bdee417c1248660b1c33b5cd86dbd814': NFC: getNdefMessage() should throw exception if no tag in field.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user