Set default operation for legacy splash screen
[platform/core/appfw/pkgmgr-info.git] / parser / pkgmgr_parser_db.c
index 116f2eb..c2b1477 100644 (file)
@@ -1708,7 +1708,7 @@ static int __insert_application_legacy_splashscreen_info(manifest_x *mfx)
        const char *image_type;
        const char *indicatordisplay;
        const char *orientation;
-       const char *operation = NULL;
+       const char *operation = "launch-effect";
        const char *color_depth = "24"; /* default */
 
        for (app_tmp = mfx->application; app_tmp; app_tmp = app_tmp->next) {
@@ -1794,9 +1794,9 @@ static int __insert_application_metadata_splashscreen_info(manifest_x *mfx)
                                if (operation && operation[1] != '\0')
                                        operation++;
                                else
-                                       operation = NULL;
+                                       operation = "launch-effect";
                        } else if (strcasestr(md->key, "launch_effect")) {
-                               operation = NULL;
+                               operation = "launch-effect";
                        } else {
                                continue;
                        }