Allow empty phone address 09/47709/1
authorSomin Kim <somin926.kim@samsung.com>
Tue, 8 Sep 2015 06:22:28 +0000 (15:22 +0900)
committerSomin Kim <somin926.kim@samsung.com>
Tue, 8 Sep 2015 06:22:28 +0000 (15:22 +0900)
Change-Id: I270a601f39572c9ef409fbfe8250003212cc4ac4
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
src/social_status/call.cpp

index 53daca3..263ad5b 100644 (file)
@@ -179,7 +179,8 @@ bool ctx::social_status_call::get_call_address(std::string& address)
 {
        address.clear();
        tel_get_call_status_all(tapi_handle, call_status_cb, &address);
-       IF_FAIL_RETURN_TAG(!address.empty(), false, _W, "Getting address failed");
+       /* FIXME: 'address' should not be empty, if the telephony works properly */
+       IF_FAIL_RETURN_TAG(!address.empty(), true, _W, "Getting address failed");
        return true;
 }