change default account id to 0

Signed-off-by:zhang_along<zhangalong@huawei.com>

Signed-off-by: zhangalong <zhangalong@huawei.com>
This commit is contained in:
zhangalong
2022-04-14 18:20:57 +08:00
parent da9a2a02e7
commit 7d80df9bb2
+1 -1
View File
@@ -33,7 +33,7 @@ const static std::string GROUP_AUTH = "GROUP_AUTH";
static const std::string ACCESS_USER_AUTH_INTERNAL_PERMISSION = "ohos.permission.ACCESS_USER_AUTH_INTERNAL";
static const std::string ACCESS_BIOMETRIC_PERMISSION = "ohos.permission.ACCESS_BIOMETRIC";
#ifndef HAS_OS_ACCOUNT_PART
const int DEFAULT_OS_ACCOUNT_ID = 100; // 100 is the default id when there is no os_account part
const int DEFAULT_OS_ACCOUNT_ID = 0; // 0 is the default id when there is no os_account part
#endif // HAS_OS_ACCOUNT_PART
REGISTER_SYSTEM_ABILITY_BY_ID(UserAuthService, SUBSYS_USERIAM_SYS_ABILITY_USERAUTH, true);