修改接口版本为13

Signed-off-by: wangsen1994 <wangsen51@huawei.com>
This commit is contained in:
wangsen1994 2024-09-29 19:31:10 +08:00
parent b8b98fb03b
commit 062297e7bb
3 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ ohos_ndk_library("libnotification_ndk") {
output_name = "ohnotification"
output_extension = "so"
ndk_description_file = "./libohnotification.ndk.json"
min_compact_version = "14"
min_compact_version = "13"
system_capability = "SystemCapability.Notification.Notification"
system_capability_headers = [ "NotificationKit/notification.h" ]
}

View File

@ -1,6 +1,6 @@
[
{
"first_introduced": "14",
"first_introduced": "13",
"name": "OH_Notification_IsNotificationEnabled"
}
]

View File

@ -19,7 +19,7 @@
*
* @brief Provides the definition of the C interface for the notification service.
*
* @since 14
* @since 13
*/
/**
* @file notification.h
@ -29,7 +29,7 @@
* @library libohnotification.so
* @kit NotificationKit
* @syscap SystemCapability.Notification.Notification
* @since 14
* @since 13
*/
#ifndef OH_NOTIFICATION_H
@ -47,7 +47,7 @@ extern "C" {
*
* @return true - This application is allowed to publish notifications.
* false - This application is not allowed to publish notifications.
* @since 14
* @since 13
*/
bool OH_Notification_IsNotificationEnabled(void);