summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyihong Chae <hh.chae@samsung.com>2017-01-13 10:49:01 (GMT)
committerHyihong Chae <hh.chae@samsung.com>2017-01-13 10:50:00 (GMT)
commit287588e7616070cbecf6362113862be62faa8bf7 (patch)
tree785444322912ea07b6dc6830920359804b20bd1b
parent0214b451c0bd35a31afbc15fdb35e4a4edcbad0b (diff)
downloadnfc-287588e7616070cbecf6362113862be62faa8bf7.zip
nfc-287588e7616070cbecf6362113862be62faa8bf7.tar.gz
nfc-287588e7616070cbecf6362113862be62faa8bf7.tar.bz2
Change-Id: Icb9983d3d108f3eb0fc582b25947a47fbb06fd9e Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
-rwxr-xr-x[-rw-r--r--]Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManagerImpl.cs17
1 files changed, 9 insertions, 8 deletions
diff --git a/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManagerImpl.cs b/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManagerImpl.cs
index 68108a5..ca2ce6d 100644..100755
--- a/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManagerImpl.cs
+++ b/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManagerImpl.cs
@@ -256,14 +256,15 @@ namespace Tizen.Network.Nfc
{
_callback_map.Remove(key);
}
- };
- }
- int ret = Interop.Nfc.SetActivation(activation, _callback_map[id], id);
- if (ret != (int)NfcError.None)
- {
- Log.Error(Globals.LogTag, "Failed to activate nfc, Error - " + (NfcError)ret);
- NfcErrorFactory.ThrowNfcException(ret);
- }
+ };
+
+ int ret = Interop.Nfc.SetActivation(activation, _callback_map[id], id);
+ if (ret != (int)NfcError.None)
+ {
+ Log.Error(Globals.LogTag, "Failed to activate nfc, Error - " + (NfcError)ret);
+ NfcErrorFactory.ThrowNfcException(ret);
+ }
+ }
return task.Task;
}
}