Fix order of module initialization 24/281624/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 19 Sep 2022 08:11:37 +0000 (17:11 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Tue, 20 Sep 2022 05:16:58 +0000 (14:16 +0900)
- Issue:
Event handlers in MMI core modules are not worked properly.

- Solution:
The events provider values are created by modality provider module, but
MMI core module was initilized before modality provider creates those
event values. To solve this problem, this patch reoders the
initialization that MMI manager initializes the modality provider module
first before initializing MMI core module.

Change-Id: Ic64b8de0772fac79ab2807209b2c9634baf2cd62
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
src/mmimgr/mmi-manager.c

index 5998ffb2ddb882efdf744376124753d990002ac4..3e8820f1d7d2983c3a8a491118a2919fd4e57a20 100644 (file)
@@ -67,8 +67,8 @@ mmi_manager_init()
 
        ecore_init();
 
-       mmi_core_init();
        modality_providers_init();
+       mmi_core_init();
        client_manager_init();
        mmi_api_handler_initialize();