From 31a6216561245f10db74ec00b74e14282fdfb05c Mon Sep 17 00:00:00 2001 From: Felipe Leme Date: Wed, 12 Feb 2020 11:28:45 -0800 Subject: [PATCH] Changed value of "no user id" to -10000 (same as UserHandle.USER_NULL). Test: no, thanks Bug: 146207078 Change-Id: I8bdab48caa8cff98ac8795e6aa20a2b295363fda --- automotive/vehicle/2.0/types.hal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automotive/vehicle/2.0/types.hal b/automotive/vehicle/2.0/types.hal index 7a5f2d2e9b..bce42b9fca 100644 --- a/automotive/vehicle/2.0/types.hal +++ b/automotive/vehicle/2.0/types.hal @@ -4114,7 +4114,8 @@ struct UserInfo { /** * Id of an Android user. * - * Must be > 0 for valid ids, or -1 when it's not used. + * Must be > 0 for valid ids, or -10000 (which is the same as Android.UserHandle.USER_NULL) when + * it's not used. */ typedef int32_t UserId;