This patch changes the behavior of the function to delete the previous
data. If the instance_id is nullptr, the function deletes the previous data
from the bundle object.
Change-Id: I0d40d980d8b6e9025dd65f3dc0eb40345d4fcbb2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
extern "C" API int aul_svc_set_instance_id(bundle* b, const char* instance_id) {
- if (b == nullptr || instance_id == nullptr) {
+ if (b == nullptr) {
_E("Invalid parameter");
return AUL_SVC_RET_EINVAL;
}