if (*status == AUL_WIDGET_LIFE_CYCLE_EVENT_APP_DEAD &&
is_faulted && !strcmp(is_faulted, "true")) {
- _D("handle dead widget instances");
+ LOGW("handle dead widget instances, %s", instance_id);
__fault_handler(sender_pid);
}
bundle_get_byte(envelope, AUL_K_WIDGET_STATUS, (void **)&status, &status_sz);
if (widget_id == NULL) {
- _E("undefined widget_id %s", widget_id);
+ LOGE("undefined widget_id %s", widget_id);
return 0;
}
if (*status == WIDGET_INSTANCE_EVENT_APP_RESTART_REQUEST) {
- _D("WIDGET_INSTANCE_EVENT_APP_RESTART_REQUEST notify");
+ LOGW("WIDGET_INSTANCE_EVENT_APP_RESTART_REQUEST notify");
bundle_get_str(envelope, AUL_K_COM_SENDER_PID, &sender_pid_str);
sender_pid = atoi(sender_pid_str);
ret = __check_valid_sender(widget_id, sender_pid);