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:
1d9da5f
)
[NFC] add service not available error
56/97356/2
author
jk.pu
<jk.pu@samsung.com>
Mon, 14 Nov 2016 02:02:51 +0000
(11:02 +0900)
committer
Jeongkyun Pu
<jk.pu@samsung.com>
Mon, 14 Nov 2016 03:46:02 +0000
(19:46 -0800)
verificatin: all tct are passed.
Change-Id: I49024a1ed0925a3457d4155eb83948b923d68833
Signed-off-by: jk.pu <jk.pu@samsung.com>
src/nfc/nfc_util.cc
patch
|
blob
|
history
diff --git
a/src/nfc/nfc_util.cc
b/src/nfc/nfc_util.cc
index 6e1e0d05ce38ac4a51559fbae2b70106df04ceff..73e173e6b331f8819a9877b9e3acc1cd9d99f1ff 100644
(file)
--- a/
src/nfc/nfc_util.cc
+++ b/
src/nfc/nfc_util.cc
@@
-48,6
+48,7
@@
PlatformResult NFCUtil::CodeToResult(const int errorCode,
case NFC_ERROR_NOT_SUPPORTED:
return LogAndCreateResult(ErrorCode::NOT_SUPPORTED_ERR, message);
case NFC_ERROR_NOT_ACTIVATED:
+ return LogAndCreateResult(ErrorCode::SERVICE_NOT_AVAILABLE_ERR, message);
case NFC_ERROR_OPERATION_FAILED:
case NFC_ERROR_DEVICE_BUSY:
case NFC_ERROR_NO_DEVICE: