/* Check current sim status */
ret = vconf_get_int(VCONFKEY_TELEPHONY_SIM_SLOT, &status);
- if (ret < 0)
- return NOTIFICATION_ERROR_IO_ERROR;
+ if (ret < 0) {
+ status = VCONFKEY_TELEPHONY_SIM_INSERTED;
+ WARN("vconf_get_int");
+ }
db = notification_db_open();
if (!db)
/* Check current sim status */
ret = vconf_get_int(VCONFKEY_TELEPHONY_SIM_SLOT, &status);
- if (ret < 0)
- ret = NOTIFICATION_ERROR_IO_ERROR;
+ if (ret < 0) {
+ status = VCONFKEY_TELEPHONY_SIM_INSERTED;
+ WARN("vconf_get_int");
+ }
if (status == VCONFKEY_TELEPHONY_SIM_INSERTED) {
if (type != NOTIFICATION_TYPE_NONE) {
/* Check current sim status */
ret = vconf_get_int(VCONFKEY_TELEPHONY_SIM_SLOT, &status);
- if (ret < 0)
- return NOTIFICATION_ERROR_IO_ERROR;
+ if (ret < 0) {
+ status = VCONFKEY_TELEPHONY_SIM_INSERTED;
+ WARN("vconf_get_int");
+ }
db = notification_db_open();
if (!db)