diff options
-rwxr-xr-x[-rw-r--r--] | Tizen.Network.Nfc/Tizen.Network.Nfc/NfcManagerImpl.cs | 17 |
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; } } |