IssueNo: #I52ASZ:add permission

Description: add permission
Sig:SIG_ApplicaitonFramework
Feature or Bugfix:BugFix
Binary Source:No
Signed-off-by: wangtiantian <wangtiantian19@huawei.com>
This commit is contained in:
wangtiantian 2022-04-12 06:54:42 +00:00
parent f6ffba250c
commit 0f337f3c75

View File

@ -70,6 +70,7 @@ export default class Package {
* Checks whethers an application exists, or whether a native application has been installed.
* @param options Options
* @syscap SystemCapability.BundleManager.BundleFramework
* @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
*/
static hasInstalled(options: CheckPackageHasInstalledOptions): void;
}