Fix screen resolution module 07/243507/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 7 Sep 2020 22:40:28 +0000 (07:40 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 7 Sep 2020 22:40:28 +0000 (07:40 +0900)
This patch removes calling __launch_appinfo_deregister_appid()
from __on_launch_complete_start(). If a component type of a launching
application is service-application, the module doesn't register the
application info using __launch_appinfo_register_appid().

Change-Id: I25d41d0fa4e2a52b75d768af0701bcbfdfe1d09f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
modules/screen-resolution/src/screen-resolution.c

index 43ffc4b7d34871a2b2e1e26786616f57dc478934..7b637c0ce700ff88c53ee8c7c6a2b71bfd600118 100644 (file)
@@ -182,8 +182,6 @@ static int __on_launch_complete_start(const char *msg, int arg1, int arg2,
        if (comp_type && strcmp(comp_type, APP_TYPE_SERVICE) != 0) {
                LOGI("complete start app end pid: %d", pid);
                __launch_appinfo_launch_app(appid, pid);
-       } else {
-               __launch_appinfo_deregister_appid(appid);
        }
 
        return AMD_NOTI_CONTINUE;