From 7d80df9bb20dcaf34025db5550e8b3f17fdc2a1e Mon Sep 17 00:00:00 2001 From: zhangalong Date: Thu, 14 Apr 2022 18:20:57 +0800 Subject: [PATCH] change default account id to 0 Signed-off-by:zhang_along Signed-off-by: zhangalong --- services/src/userauth_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/userauth_service.cpp b/services/src/userauth_service.cpp index 7478484..4176a17 100644 --- a/services/src/userauth_service.cpp +++ b/services/src/userauth_service.cpp @@ -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);