retvm_if(key_status == 2, ECORE_CALLBACK_CANCEL, "starter use volume key. status : 2");
#ifndef FEATURE_SDK
- int is_call = -1;
if (!strncmp(ev->keyname, KEY_MUTE, strlen(KEY_MUTE))) {
_D("MUTE key is pressed");
if (VOLUME_ERROR_OK != _mute_key_press())
_E("Failed to press MUTE key");
return ECORE_CALLBACK_CANCEL;
}
-
- if (vconf_get_int(VCONFKEY_TELEPHONY_CALL_STATE, &is_call) < 0 || is_call < 0) {
- _E("Failed to get call state vconf");
- return ECORE_CALLBACK_CANCEL;
- }
- if (is_call > 0) {
- _D("Call is active");
- return ECORE_CALLBACK_CANCEL;
- }
#endif
status = volume_control_check_status(&lock, &sound_type);