ret = app_control_send_launch_request_async(handle,
__app_control_result_cb_n3,
NULL, NULL);
- if (ret != APP_CONTROL_ERROR_APP_NOT_FOUND) {
+ if (ret != APP_CONTROL_ERROR_NONE) {
dlog_print(DLOG_ERROR, LOG_TAG, "error: %d", ret);
normal_exit(1);
}
ret = app_control_send_launch_request_async(handle,
__app_control_result_cb_n4,
NULL, NULL);
- if (ret != APP_CONTROL_ERROR_PERMISSION_DENIED) {
+ if (ret != APP_CONTROL_ERROR_NONE) {
dlog_print(DLOG_ERROR, LOG_TAG, "error: %d", ret);
normal_exit(1);
}