[NFC] Fix for NFCTag test.
authorTomasz Marciniak <t.marciniak@samsung.com>
Thu, 21 May 2015 15:48:13 +0000 (17:48 +0200)
committerTomasz Marciniak <t.marciniak@samsung.com>
Thu, 21 May 2015 15:48:13 +0000 (17:48 +0200)
[Verification] Code compiles without errors.
All subtests in NFCTag.html pass

Change-Id: Ia459f717f9a02a6bc6a9e3ce15c2bf78eefa0520
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/nfc/nfc_instance.cc

index e96d6afc44e1d010908c9f06b427708048462455..a4627e002af9e406474063307968dc147cf30f22 100644 (file)
@@ -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);
   }