[TIZENIOT-1792]Freeze Notification non-deletable by gesture 43/243043/1 submit/tizen/20200903.063652
authorAmritanshu <a.pandia1@samsung.com>
Wed, 2 Sep 2020 14:03:13 +0000 (19:33 +0530)
committerAmritanshu <a.pandia1@samsung.com>
Wed, 2 Sep 2020 14:03:13 +0000 (19:33 +0530)
Change-Id: I76b7ce4578034470747706dbab1e58e6b622ad9b
Signed-off-by: Amritanshu <a.pandia1@samsung.com>
src/interaction.c

index 28cef4be70ad37a803858911a3d4f82d7c8c9a7a..b0b41af9ae4f5c7478561c1a3a7cdf0a12d2056a 100755 (executable)
@@ -162,7 +162,6 @@ _send_notification_install_update_cb(void *data, Evas_Object *obj, void *event_i
        notification_set_text(notify, NOTIFICATION_TEXT_TYPE_CONTENT, "Software update is available. Click to update", NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
 
        notification_set_layout(notify, NOTIFICATION_LY_ONGOING_EVENT);
-       notification_set_property(notify, NOTIFICATION_PROP_PERMANENT_DISPLAY);
        notification_set_tag(notify, LOG_TAG);
 
        LOGI("Image path in _send_notification_install_update_cb = %s",path);
@@ -222,7 +221,6 @@ _send_notification_download_image_cb(void *data, Evas_Object *obj, void *event_i
        notification_set_text(notify, NOTIFICATION_TEXT_TYPE_CONTENT, "Software update is available. Click to update", NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
 
        notification_set_layout(notify, NOTIFICATION_LY_ONGOING_EVENT);
-       notification_set_property(notify, NOTIFICATION_PROP_PERMANENT_DISPLAY);
        notification_set_tag(notify, LOG_TAG);
 
        LOGI("Image path in _send_notification_download_image_cb = %s",path);