mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 15:20:34 +00:00
authentication
Signed-off-by: 123 <834689456@qq.com> Change-Id: I9937c450d325128569b55ac6b50831210d60fa55
This commit is contained in:
parent
e800a553b7
commit
5edc24ba36
@ -63,6 +63,7 @@ constexpr static char WALLPAPER_EXTENSION[] = "WallpaperExtension";
|
||||
constexpr static char FILEACCESS_EXT_ABILITY[] = "FileAccessExtension";
|
||||
constexpr static char ENTERPRISE_ADMIN_EXTENSION[] = "EnterpriseAdminExtension";
|
||||
constexpr static char INPUTMETHOD_EXTENSION[] = "InputMethodExtensionAbility";
|
||||
constexpr static char APP_ACCOUNT_AUTHORIZATION_EXTENSION[] = "AppAccountAuthorizationExtension";
|
||||
|
||||
AbilityThread::AbilityThread()
|
||||
: abilityImpl_(nullptr), token_(nullptr), currentAbility_(nullptr), abilityHandler_(nullptr), runner_(nullptr)
|
||||
@ -167,6 +168,9 @@ std::string AbilityThread::CreateAbilityName(const std::shared_ptr<AbilityLocalR
|
||||
if (abilityInfo->extensionAbilityType == ExtensionAbilityType::UI) {
|
||||
abilityName = UI_EXTENSION;
|
||||
}
|
||||
if (abilityInfo->extensionAbilityType == ExtensionAbilityType::APP_ACCOUNT_AUTHORIZATION) {
|
||||
abilityName = APP_ACCOUNT_AUTHORIZATION_EXTENSION;
|
||||
}
|
||||
HILOG_DEBUG("CreateAbilityName extension type, abilityName:%{public}s", abilityName.c_str());
|
||||
} else {
|
||||
abilityName = abilityInfo->name;
|
||||
|
Loading…
Reference in New Issue
Block a user