From: jk.pu Date: Mon, 14 Nov 2016 02:02:51 +0000 (+0900) Subject: [NFC] add service not available error X-Git-Tag: submit/tizen_3.0/20161114.044427^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a0a2ecd5759b683b215c358a4afcb77d3a5d14a;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [NFC] add service not available error verificatin: all tct are passed. Change-Id: I49024a1ed0925a3457d4155eb83948b923d68833 Signed-off-by: jk.pu --- diff --git a/src/nfc/nfc_util.cc b/src/nfc/nfc_util.cc index 6e1e0d05..73e173e6 100644 --- 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: