* and set system popup properties based on system popup information DB.\n
* system popup properties to be set : timeout, default action type, ....
*
+ * @privilege %http://tizen.org/privilege/window.priority.set
* @param[in] b bundle received by app_reset handler (included system popup name)
* @param[in] handler user-supplied handler for handling system popup internal event.
* @param[in] parent parent window created with elm_win_add.
<ui-application appid="org.tizen.syspopup-app" exec="/usr/bin/syspopup-app" nodisplay="true" multiple="false" type="capp" taskmanage="false">
<label>syspopup-app</label>
</ui-application>
+ <privileges>
+ <privilege>http://tizen.org/privilege/window.priority.set</privilege>
+ </privileges>
</manifest>
syspopup *sp;
Ecore_Wl_Window *wl_win;
efl_util_notification_level_e level;
+ int ret;
popup_name = _syspopup_get_name_from_bundle(b);
if (popup_name == NULL)
ecore_wl_window_type_set(wl_win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
level = __wl_syspopup_get_notification_level(info->prio);
- efl_util_set_notification_window_level(sp->win, level);
+ ret = efl_util_set_notification_window_level(sp->win, level);
+ if (ret != EFL_UTIL_ERROR_NONE) {
+ _E("Failed to set notification window level - %d", ret);
+ return -1;
+ }
+
if (info->focus)
ecore_wl_window_focus_skip_set(wl_win, EINA_TRUE);