- pwlock check function isn't used and so it can be removed from the lockstate check flow
Signed-off-by: Shinhui Kang <sinikang@samsung.com>
Change-Id: Ida7c8e4c00a1f6eb27fdfef1e08b0c95a350a143
#include "callmgr-popup-common.h"
gboolean _callmgr_popup_is_idle_lock(void);
-gboolean _callmgr_popup_is_pw_lock(void);
gboolean _callmgr_popup_is_flight_mode(void);
gboolean _callmgr_popup_is_fm_lock(void);
}
}
-gboolean _callmgr_popup_is_pw_lock(void)
-{
- int pwlock_state = -1;
-
- if (vconf_get_int(VCONFKEY_PWLOCK_STATE, &pwlock_state) < 0) {
- WARN("vconf_get_int failed.");
- return FALSE;
- }
-
- DBG("pwlock_state:[%d]", pwlock_state);
- if ((pwlock_state == VCONFKEY_PWLOCK_BOOTING_LOCK)
- || (pwlock_state == VCONFKEY_PWLOCK_RUNNING_LOCK)) {
- return TRUE;
- } else {
- return FALSE;
- }
-}
-
gboolean _callmgr_popup_is_flight_mode(void)
{
gboolean flight_mode = FALSE;
}
if ((_callmgr_popup_is_idle_lock())
- || (_callmgr_popup_is_pw_lock())
|| (_callmgr_popup_is_fm_lock())) {
DBG("Set high window and block noti");
__callmgr_popup_set_win_level(eo, EINA_TRUE);
} call_salescode_type;
int _callmgr_vconf_is_security_lock(gboolean *is_security_lock);
-int _callmgr_vconf_is_pwlock(gboolean *is_pwlock);
int _callmgr_vconf_is_low_battery(gboolean *is_low_battery);
int _callmgr_vconf_is_sound_setting_enabled(gboolean *is_sound_enabled);
int _callmgr_vconf_is_vibration_setting_enabled(gboolean *is_vibration_enabled);
return 0;
}
-int _callmgr_vconf_is_pwlock(gboolean *is_pwlock)
-{
- int pwlock_state = -1;
- dbg("_callmgr_vconf_is_pwlock()");
-
- if (vconf_get_int(VCONFKEY_PWLOCK_STATE, &pwlock_state) < 0) {
- err("vconf_get_int failed.");
- *is_pwlock = FALSE;
- return -1;
- }
- info("pwlock_state:[%d]", pwlock_state);
- if ((pwlock_state == VCONFKEY_PWLOCK_BOOTING_LOCK) || (pwlock_state == VCONFKEY_PWLOCK_RUNNING_LOCK)) {
- *is_pwlock = TRUE;
- } else {
- *is_pwlock = FALSE;
- }
- return 0;
-}
-
int _callmgr_vconf_is_low_battery(gboolean *is_low_battery)
{
dbg("_callmgr_vconf_is_low_battery()");
%define major 0
%define minor 1
-%define patchlevel 73
+%define patchlevel 74
%define ext_feature 0
Name: call-manager
gboolean is_incall_ss = FALSE;
gboolean is_ss = FALSE;
gboolean is_number_valid = FALSE;
- gboolean is_pwlock = FALSE;
gboolean is_security_lock = FALSE;
gboolean is_ui_visible = FALSE;
cm_telepony_sim_slot_type_e active_sim = CM_TELEPHONY_SIM_UNKNOWN;
CM_SAFE_FREE(extracted_call_num);
CM_SAFE_FREE(extracted_dtmf_num);
- _callmgr_vconf_is_pwlock(&is_pwlock);
_callmgr_vconf_is_security_lock(&is_security_lock);
_callmgr_vconf_is_ui_visible(&is_ui_visible);
- if (is_pwlock || is_security_lock) {
+ if (is_security_lock) {
if (is_ui_visible) {
warn("Callback case. Allow this operation!!");
} else if (!is_emergency_call && !is_emergency_contact) {