}
}
+static Eina_Bool __wakeup_start_recording(void* data)
+{
+ MAS_LOGD( "[SUCCESS] __wakeup_start_recording is called.");
+
+ (void*)data;
+
+ int ret;
+
+ ret = wakeup_service_start_recording();
+ if (0 != ret) {
+ MAS_LOGE("[ERROR] Fail to start recording, ret(%d)", ret);
+ }
+
+ return EINA_FALSE;
+}
+
static void __error_cb(int error, const char* err_msg, void* user_data)
{
MAS_LOGD( "[SUCCESS] __error_cb is called, error(%d), err_msg(%d)", error, err_msg);
if (0 != ret) {
MAS_LOGE("[ERROR] Fail to cancel recording, ret(%d)", ret);
}
-
- ret = wakeup_service_start_recording();
- if (0 != ret) {
- MAS_LOGE("[ERROR] Fail to start recording, ret(%d)", ret);
- }
+
+ ecore_timer_add(0, __wakeup_start_recording, NULL);
ret = masc_ui_dbus_send_error_message(error, err_msg);
if (0 != ret) {