From 8c35a2c01254251a9d5fc698f551d787cfa8055a Mon Sep 17 00:00:00 2001 From: liu-binjun Date: Tue, 15 Mar 2022 19:04:06 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20b3b35c6=20from=20https://gitee.com/liu-?= =?UTF-8?q?binjun/interface=5Fsdk-js/pulls/1124=20=E4=BF=AE=E6=94=B9enable?= =?UTF-8?q?Location=E6=8E=A5=E5=8F=A3=E7=9A=84=E6=9D=83=E9=99=90=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liu-binjun --- api/@ohos.geolocation.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.geolocation.d.ts b/api/@ohos.geolocation.d.ts index 51ca8f66f7..13d87e726d 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; -- Gitee