From 6d2d5fe23dbf1000c7b3594185854d91adecd00d Mon Sep 17 00:00:00 2001 From: Tomasz Marciniak Date: Thu, 21 May 2015 17:48:13 +0200 Subject: [PATCH] [NFC] Fix for NFCTag test. [Verification] Code compiles without errors. All subtests in NFCTag.html pass Change-Id: Ia459f717f9a02a6bc6a9e3ce15c2bf78eefa0520 Signed-off-by: Tomasz Marciniak --- src/nfc/nfc_instance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nfc/nfc_instance.cc b/src/nfc/nfc_instance.cc index e96d6afc..a4627e00 100644 --- a/src/nfc/nfc_instance.cc +++ b/src/nfc/nfc_instance.cc @@ -702,7 +702,7 @@ void NFCInstance::TagIsConnectedGetter( PlatformResult result = NFCAdapter::GetInstance()->TagIsConnectedGetter(tag_id, &connected); if (result.IsSuccess()) { - ReportSuccess(out); + ReportSuccess(picojson::value(connected), out); } else { ReportError(result, &out); } -- 2.34.1