Add a logic to specify the app id while forking 09/214109/4
authorWonki Kim <wonki_.kim@samsung.com>
Wed, 18 Sep 2019 06:40:42 +0000 (15:40 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 25 Sep 2019 00:21:59 +0000 (09:21 +0900)
Application runs by forking a launchpad process in Tizen.
A forked application process inherits whole information of launchpad
including atspi application name that is specified by calling elm_app_name_set.

this patch adds a logic to have the own name for each forked applications
in atspi point of view.

Change-Id: I42c892e4c8c15a67ddc5fac0bdd435305fcababe

src/launchpad_loader.c

index cf92185c0f60a779e12a85b54510040422639ff6..d91fd977a341edb812953e56fadbd52a44f5f732 100644 (file)
@@ -274,6 +274,8 @@ static int __loader_launch_cb(int argc, char **argv, const char *app_path,
        const char *high_priority;
 #endif
 
+       elm_app_name_set(appid);
+
        vconf_ignore_key_changed(VCONFKEY_SETAPPL_APP_HW_ACCELERATION,
                        __vconf_cb);
        if (kb == NULL)