[NFC] add service not available error 56/97356/2
authorjk.pu <jk.pu@samsung.com>
Mon, 14 Nov 2016 02:02:51 +0000 (11:02 +0900)
committerJeongkyun 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

index 6e1e0d05ce38ac4a51559fbae2b70106df04ceff..73e173e6b331f8819a9877b9e3acc1cd9d99f1ff 100644 (file)
@@ -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: