()
| 275 | } |
| 276 | Display.getInstance().callSerially(new Runnable() { |
| 277 | public void run() { |
| 278 | if (r.isDone()) { |
| 279 | return; |
| 280 | } |
| 281 | try { |
| 282 | NdefMessage msg = NdefMessage.parse(raw); |
| 283 | Set<TagType> types = new HashSet<TagType>(); |
| 284 | types.add(TagType.NDEF); |
| 285 | r.complete(new IOSTag(0L, types, new byte[0], |
| 286 | msg, true, -1)); |
| 287 | } catch (NfcException e) { |
| 288 | r.error(e); |
| 289 | } |
| 290 | } |
| 291 | }); |
| 292 | } |
| 293 |
nothing calls this directly
no test coverage detected