diff options
author | Jongkyu Koo <jk.koo@samsung.com> | 2017-07-19 19:52:02 +0900 |
---|---|---|
committer | Jongkyu Koo <jk.koo@samsung.com> | 2017-07-19 19:52:02 +0900 |
commit | b40bbda85ec9ef88ba45f3c48b64d4a839bdf896 (patch) | |
tree | 78151957f33d4a98745bee7f07717d5e6652b3e7 | |
parent | cd34da9a32605017586cdc67c27b39d6268fbee1 (diff) | |
download | phonenumber-utils-submit/tizen_4.0/20170814.115522.tar.gz phonenumber-utils-submit/tizen_4.0/20170814.115522.tar.bz2 phonenumber-utils-submit/tizen_4.0/20170814.115522.zip |
modified not to throw exception in Dispose()submit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.100003submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170720.005233accepted/tizen/unified/20170720.062128accepted/tizen/4.0/unified/20170828.223239accepted/tizen/4.0/unified/20170816.015113tizen_4.0tizenaccepted/tizen_unifiedaccepted/tizen_4.0_unified
Change-Id: I0a04e5e88197cb3c898847998d14ba24e57b2ef2
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
-rw-r--r-- | Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs b/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs index ae56f52..c410568 100644 --- a/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs +++ b/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs @@ -62,10 +62,7 @@ namespace Tizen.PhonenumberUtils ret = Interop.PhonenumberUtils.Disconnect(); if (ret != (int)PhonenumberUtilsError.None) - { Log.Error(Globals.LogTag, "Failed to disconnect, Error - " + (PhonenumberUtilsError)ret); - PhonenumberUtilsErrorFactory.ThrowPhonenumberUtilsException(ret); - } disposed = true; } @@ -123,7 +120,7 @@ namespace Tizen.PhonenumberUtils /// <summary> /// Gets the normalized number. - /// </summary> + /// </summary> /// <param name="number">The number</param> /// <returns>The normalized number</returns> /// <privilege>http://tizen.org/privilege/telephony</privilege> @@ -134,7 +131,7 @@ namespace Tizen.PhonenumberUtils /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception> /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception> /// <remarks> - /// Normalized number starts with plus('+') and country code, and excludes the separators such as dash or space. + /// Normalized number starts with plus('+') and country code, and excludes the separators such as dash or space. /// It is a format of E.164 standard including the country code based on current network. /// </remarks> public string GetNormalizedNumber(string number) |