Frame Broker invokes the error callback directly when the error is delivered
from Display Server before sending the launch request.
Change-Id: I232b06532f70856903d8ea1ba6c2e222bf689a20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* @param[in] user_data The user data passed from frame_broker_create() function
*
* @see frame_context_error_e
+ * @remarks The context handle can be NULL pointer when the error is delivered from Display Server before sending the launch request.
*/
typedef void (*frame_context_error_cb)(frame_context_h context,
frame_context_error_e error,
__check_pre_context(broker);
context = broker->context;
} else {
- _E("Invalid context");
+ _W("Invoke error callback directly");
+ broker->callback.error(NULL, __convert_error(error),
+ broker->user_data);
return;
}
}