From b8c3e536002564ea2fe7e7e7bbf21c8d333fc307 Mon Sep 17 00:00:00 2001 From: liyan Date: Thu, 2 Feb 2023 07:51:03 +0000 Subject: [PATCH] update en/application-dev/application-models/application-context-stage.md. Signed-off-by: li-yan339 Signed-off-by: liyan --- .../application-models/application-context-stage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/application-models/application-context-stage.md b/en/application-dev/application-models/application-context-stage.md index 80c401858a..223ec27327 100644 --- a/en/application-dev/application-models/application-context-stage.md +++ b/en/application-dev/application-models/application-context-stage.md @@ -177,7 +177,7 @@ The base class **Context** provides the [createBundleContext(bundleName:string)] > > - Request the **ohos.permission.GET_BUNDLE_INFO_PRIVILEGED** permission. For details, see [Permission Application Guide](../security/accesstoken-guidelines.md#declaring-permissions-in-the-configuration-file). > -> - This is a system API and cannot be called by third-party applications. + > - This is a system API and cannot be called by third-party applications. For example, application information displayed on the home screen includes the application name and icon. The home screen application calls the foregoing method to obtain the context information, so as to obtain the resource information including the application name and icon. @@ -201,7 +201,7 @@ The base class **Context** provides the [createBundleContext(bundleName:string)] > > - Request the **ohos.permission.GET_BUNDLE_INFO_PRIVILEGED** permission. For details, see [Permission Application Guide](../security/accesstoken-guidelines.md#declaring-permissions-in-the-configuration-file). > -> - This is a system API and cannot be called by third-party applications. + > - This is a system API and cannot be called by third-party applications. ```ts import UIAbility from '@ohos.app.ability.UIAbility'; -- GitLab