SVACE issue fix 05/252805/2
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Tue, 2 Feb 2021 10:33:35 +0000 (16:03 +0530)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Fri, 12 Feb 2021 07:26:52 +0000 (12:56 +0530)
Change-Id: I61d2d6de6dd235ff6c443d9f2583571e48d80bab
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
daemon/phnd-libphonenumber.cpp

index b191a11297cf569ccc0bb2331fb845e8be12c38f..06d962f7a095c1102c24cf128e246ebd2f709b19 100755 (executable)
@@ -148,15 +148,9 @@ static int _phn_get_tapi_handle()
                                _phn_cc_changed_cb, NULL);
                if (TAPI_API_SUCCESS != ret) {
                        /* LCOV_EXCL_START */
-                       if (TAPI_API_ACCESS_DENIED == ret) {
-                               ERR("tel_register_noti_event() Fail(%d)", ret);
-                               g_strfreev(cp_list);
-                               return PHONE_NUMBER_ERROR_PERMISSION_DENIED;
-                       } else {
-                               ERR("tel_register_noti_event() for _tapi_handle[%d] Fail(%d)", i, ret);
-                               g_strfreev(cp_list);
-                               return PHONE_NUMBER_ERROR_SYSTEM;
-                       }
+                       ERR("tel_register_noti_event() for _tapi_handle[%d] Fail(%d)", i, ret);
+                       g_strfreev(cp_list);
+                       return PHONE_NUMBER_ERROR_SYSTEM;
                        /* LCOV_EXCL_STOP */
                }
        }