Terminate net-popup for unsupported types 31/232731/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120456 accepted/tizen/6.0/unified/hotfix/20201103.051200 accepted/tizen/unified/20200508.045056 submit/tizen/20200507.103038 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
authorSemun Lee <semun.lee@samsung.com>
Thu, 7 May 2020 09:34:30 +0000 (18:34 +0900)
committerSemun Lee <semun.lee@samsung.com>
Thu, 7 May 2020 09:34:30 +0000 (18:34 +0900)
Change-Id: I3d53aa25fd35164df92cc764075a68ce96de0ccc
Signed-off-by: Semun Lee <semun.lee@samsung.com>
src/net-popup-w.c

index a2d5cf6..22b4e3d 100755 (executable)
@@ -332,6 +332,7 @@ static void app_control(app_control_h app_control, void *data)
        syspopup_content = bundle_get_val(b, "_SYSPOPUP_CONTENT_");
        if (syspopup_content == NULL) {
                log_print(NET_POPUP_W, "syspopup_content is NULL!");
+               ui_app_exit();
                FUNCTION_QUIT;
                return;
        }
@@ -339,6 +340,7 @@ static void app_control(app_control_h app_control, void *data)
        syspopup_type = bundle_get_val(b, "_SYSPOPUP_TYPE_");
        if (syspopup_type == NULL) {
                log_print(NET_POPUP_W, "syspopup_type is NULL!");
+               ui_app_exit();
                FUNCTION_QUIT;
                return;
        }
@@ -346,6 +348,7 @@ static void app_control(app_control_h app_control, void *data)
        app_id = bundle_get_val(b, "_APP_ID_");
        if (app_id == NULL) {
                log_print(NET_POPUP_W, "app_id is NULL!");
+               ui_app_exit();
                FUNCTION_QUIT;
                return;
        }
@@ -353,6 +356,7 @@ static void app_control(app_control_h app_control, void *data)
        if_type = bundle_get_val(b, "_IF_TYPE_");
        if (if_type == NULL) {
                log_print(NET_POPUP_W, "if_type is NULL!");
+               ui_app_exit();
                FUNCTION_QUIT;
                return;
        }
@@ -362,6 +366,7 @@ static void app_control(app_control_h app_control, void *data)
                limit = bundle_get_val(b, "_RESTRICTION_LIMIT_");
                if (limit == NULL) {
                        log_print(NET_POPUP_W, "limit is NULL!");
+                       ui_app_exit();
                        FUNCTION_QUIT;
                        return;
                }
@@ -373,6 +378,7 @@ static void app_control(app_control_h app_control, void *data)
                limit = bundle_get_val(b, "_WARN_LIMIT_");
                if (limit == NULL) {
                        log_print(NET_POPUP_W, "limit is NULL!");
+                       ui_app_exit();
                        FUNCTION_QUIT;
                        return;
                }
@@ -381,6 +387,7 @@ static void app_control(app_control_h app_control, void *data)
 
        } else {
                log_print(NET_POPUP_W, "Unknown event");
+               ui_app_exit();
                FUNCTION_QUIT;
        }