mirror of
https://github.com/openharmony/appexecfwk_standard.git
synced 2026-07-21 09:25:21 -04:00
@@ -130,7 +130,7 @@ std::string ContextImpl::GetBaseDir() const
|
||||
|
||||
std::string ContextImpl::GetCurrentAccountId() const
|
||||
{
|
||||
int userId;
|
||||
int userId = 0;
|
||||
AccountSA::OsAccountManager::GetOsAccountLocalIdFromProcess(userId);
|
||||
return std::to_string(userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user