if there is updated content.
[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: Ieb5fb2bfe98e0e333b93944c445317a355b4ca39
} else {
dbox_invoke_event_handler(handler, DBOX_EVENT_CREATED);
}
+
+ /**
+ * If there is any updates before get this event,
+ * Invoke all update event forcely
+ */
+ switch (common->dbox.last_extra_buffer_idx) {
+ case DBOX_UNKNOWN_BUFFER:
+ break;
+ case DBOX_PRIMARY_BUFFER:
+ DbgPrint("Primary buffer updated\n");
+ dbox_invoke_event_handler(handler, DBOX_EVENT_DBOX_UPDATED);
+ break;
+ default:
+ DbgPrint("Extra buffer updated\n");
+ dbox_invoke_event_handler(handler, DBOX_EVENT_DBOX_EXTRA_UPDATED);
+ break;
+ }
}
}