diff options
author | Myungki Lee <mk5004.lee@samsung.com> | 2016-11-07 17:21:21 +0900 |
---|---|---|
committer | Myungki Lee <mk5004.lee@samsung.com> | 2016-11-07 17:21:21 +0900 |
commit | 2211447391e9e5aee6261f59217c1a2b0119dfe7 (patch) | |
tree | 6c25d6935366db935bf6553ded05e5bfe5a4190b | |
parent | 2915630b5fbef884044bf376e15fe9cb6b0f0c7d (diff) | |
download | notification-2211447391e9e5aee6261f59217c1a2b0119dfe7.tar.gz notification-2211447391e9e5aee6261f59217c1a2b0119dfe7.tar.bz2 notification-2211447391e9e5aee6261f59217c1a2b0119dfe7.zip |
Fix test-app
Change-Id: Id08e4f9bf6b375e7b80f1d8bdf95afbbcebe325e
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rwxr-xr-x | test-app/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test-app/main.c b/test-app/main.c index c6fd92f..f47c2a5 100755 --- a/test-app/main.c +++ b/test-app/main.c @@ -317,12 +317,12 @@ static int testapp_test_post_notification_on_indicator() goto FINISH_OFF; } - snprintf(image_path, TIZEN_PATH_MAX, "%s/org.tizen.indicator/res/icons/Shealth/B03_shealth.png", PATH_FMT_RO_APP_ROOT); - noti_err = notification_set_image(noti_handle, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, image_path); - /* noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_TITLE, "I'm Title", "TITLE", NOTIFICATION_VARIABLE_TYPE_NONE); - noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_CONTENT, "I'm Content", "This is very long message", NOTIFICATION_VARIABLE_TYPE_NONE); - */ + noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_CONTENT, "I'm Content", "CONTENT", NOTIFICATION_VARIABLE_TYPE_NONE); + + snprintf(image_path, TIZEN_PATH_MAX, "%s/org.tizen.indicator/res/resource/icons/Notify/b03_notify_more.png", PATH_FMT_RO_APP_ROOT); + noti_err = notification_set_image(noti_handle, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, image_path); + noti_err = notification_set_display_applist(noti_handle, NOTIFICATION_DISPLAY_APP_TICKER | NOTIFICATION_DISPLAY_APP_INDICATOR); if (noti_err != NOTIFICATION_ERROR_NONE) { |