projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6925d15
)
[NFC] Fix for NFCTag test.
author
Tomasz Marciniak
<t.marciniak@samsung.com>
Thu, 21 May 2015 15:48:13 +0000
(17:48 +0200)
committer
Tomasz 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
patch
|
blob
|
history
diff --git
a/src/nfc/nfc_instance.cc
b/src/nfc/nfc_instance.cc
index e96d6afc44e1d010908c9f06b427708048462455..a4627e002af9e406474063307968dc147cf30f22 100644
(file)
--- 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);
}