diff --git a/api/@ohos.geolocation.d.ts b/api/@ohos.geolocation.d.ts index 51ca8f66f717917003b991c3b8d8ad0dd5e9c59d..13d87e726d3e111d54abef61a805f9222880787e 100644 --- a/api/@ohos.geolocation.d.ts +++ b/api/@ohos.geolocation.d.ts @@ -200,7 +200,7 @@ declare namespace geolocation { * @since 7 * @syscap SystemCapability.Location.Location.Core * @systemapi - * @permission ohos.permission.LOCATION + * @permission ohos.permission.MANAGE_SECURE_SETTINGS * @param callback Indicates the callback for reporting the location switch result. */ function enableLocation(callback: AsyncCallback) : void; @@ -212,7 +212,7 @@ declare namespace geolocation { * @since 7 * @syscap SystemCapability.Location.Location.Core * @systemapi - * @permission ohos.permission.LOCATION + * @permission ohos.permission.MANAGE_SECURE_SETTINGS * @param callback Indicates the callback for reporting the location switch result. */ function disableLocation(callback: AsyncCallback) : void;