commit | 5c0ec3f1debcf5c395609c951cf748315b52219a | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed Oct 20 14:01:42 2021 -0700 |
committer | Yu Shan <shanyu@google.com> | Mon Oct 25 12:36:27 2021 -0700 |
tree | b69294d9f4b1bb09888d611be0fb3ef61d9d70e2 | |
parent | c69d81e5f374a5b25830e66e9fe24111ac73b603 [diff] |
Parse user flags as flags instead of enum. The flags field in UserInfo is a int32_t that contains multiple UserFlags 'or'ed together. We should not parse it as enum. Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests Bug: 202520478 Change-Id: Ie7e81a8a5f39f6070e35f2e77bce88a211fd526b