diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2021-08-13 19:02:57 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2021-08-13 19:02:57 +0900 |
commit | 0046698368c7db180dc4906a4fd75b9c707f34cf (patch) | |
tree | 41fa187f2aa4fab1591eab8acee50999a6065701 | |
parent | 93e644d3543e79bf91c27b7377575d7f8167dc93 (diff) | |
download | aul-1-0046698368c7db180dc4906a4fd75b9c707f34cf.tar.gz aul-1-0046698368c7db180dc4906a4fd75b9c707f34cf.tar.bz2 aul-1-0046698368c7db180dc4906a4fd75b9c707f34cf.zip |
Fix a bug about app group launch
If the instance ID already exists, AUL doesn't not set a new instance ID
to the bundle object.
Change-Id: I2198fa5e31493d59e7347f05f8288643f27a5ce4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/aul_svc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aul_svc.cc b/src/aul_svc.cc index 153ee6eb..71ec3915 100644 --- a/src/aul_svc.cc +++ b/src/aul_svc.cc @@ -201,7 +201,7 @@ void SetLaunchData(bundle* request, const std::string& appid) { const char* launch_mode = aul_svc_get_launch_mode(request); if (launch_mode && !strcmp(launch_mode, "group")) { int ret = bundle_get_type(request, AUL_K_INSTANCE_ID); - if (ret != BUNDLE_TYPE_NONE) + if (ret == BUNDLE_TYPE_NONE) aul_set_instance_info(appid.c_str(), request); } } |