Change multiple instance appid aul key 52/296552/1
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 1 Aug 2023 02:24:02 +0000 (11:24 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 1 Aug 2023 03:10:58 +0000 (12:10 +0900)
AUL_K_ORG_APPID is already used as alias appid.
this patch changes the aul key to AUL_K_MULTIPLE_INSTANCE_APPID.

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/aul-1/+/296550

Change-Id: I20a5a395d7f2b5a66f557bc333e6b06fefdc7909
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/lib/launch/step_do_starting_app.cc

index 57a1e72de325169c0e5db16446adad4c5806cea4..9e8ffeca351ddf9c8a4e71c9371dbe6af476466f 100644 (file)
@@ -109,8 +109,8 @@ void SetAppInfoForLaunchpad(LaunchContext* context) {
   if (context->GetAppId() != context->GetRealAppId()) {
     bundle_del(b, AUL_K_APPID);
     bundle_add(b, AUL_K_APPID, context->GetRealAppId().c_str());
-    bundle_del(b, AUL_K_ORG_APPID);
-    bundle_add(b, AUL_K_ORG_APPID, context->GetAppId().c_str());
+    bundle_del(b, AUL_K_MULTIPLE_INSTANCE_APPID);
+    bundle_add(b, AUL_K_MULTIPLE_INSTANCE_APPID, context->GetAppId().c_str());
   }
 }