!1137 [Bug]: ACTIVED->ACTIVATED

Merge pull request !1137 from 王力量/day1119_ACTIVED
This commit is contained in:
openharmony_ci 2024-11-20 10:42:26 +00:00 committed by Gitee
commit 20587e2c95
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -188,7 +188,7 @@ void OsAccountIdSubscriber::OnAccountsChanged(const int& id)
std::shared_ptr<OsAccountIdSubscriber> OsAccountIdSubscriber::GetInstance() std::shared_ptr<OsAccountIdSubscriber> OsAccountIdSubscriber::GetInstance()
{ {
OsAccountSubscribeInfo subscribeInfo; OsAccountSubscribeInfo subscribeInfo;
subscribeInfo.SetOsAccountSubscribeType(OS_ACCOUNT_SUBSCRIBE_TYPE::ACTIVED); subscribeInfo.SetOsAccountSubscribeType(OS_ACCOUNT_SUBSCRIBE_TYPE::ACTIVATED);
static auto subscriber = Common::MakeShared<OsAccountIdSubscriber>(subscribeInfo); static auto subscriber = Common::MakeShared<OsAccountIdSubscriber>(subscribeInfo);
if (subscriber == nullptr) { if (subscriber == nullptr) {