diff options
author | seungha.son <seungha.son@samsung.com> | 2016-08-16 17:11:25 +0900 |
---|---|---|
committer | seungha.son <seungha.son@samsung.com> | 2016-08-26 11:27:52 +0900 |
commit | 7072278bdfe20c5c77d92f69ecdaa60ff890a6b8 (patch) | |
tree | d29d59816a906ffc925d0de02dd53ae985708567 /include/notification_ipc.h | |
parent | 4bcd76fc6e07020d43639683f99b7be3c8925e4c (diff) | |
download | notification-7072278bdfe20c5c77d92f69ecdaa60ff890a6b8.tar.gz notification-7072278bdfe20c5c77d92f69ecdaa60ff890a6b8.tar.bz2 notification-7072278bdfe20c5c77d92f69ecdaa60ff890a6b8.zip |
Add new api to get notification block state
- The user can set notification block state in Setting application.
The user can get notification block state that allow or block
notifications by using this function.
The "Block" means wether or not the ability to post notifications is
blocked. But 'Do not disturb mode' means that Only notification on
notification panel is allowed.
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Id19d9b9d4a89d4693b2ae37a74c15b2543b0758a
Diffstat (limited to 'include/notification_ipc.h')
-rwxr-xr-x | include/notification_ipc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notification_ipc.h b/include/notification_ipc.h index fda5f95..db14a28 100755 --- a/include/notification_ipc.h +++ b/include/notification_ipc.h @@ -87,8 +87,8 @@ int notification_ipc_request_save_as_template(notification_h noti, const char *t int notification_ipc_request_create_from_template(notification_h noti, const char *template_name); int notification_ipc_request_create_from_package_template(notification_h noti, const char *pkgname, const char *template_name); - - +int notification_ipc_get_noti_block_state(const char *pkgname, int *do_not_disturb, int *do_not_disturb_except, + int *allow_to_notify, uid_t uid); #ifdef __cplusplus } |