commit | 68cb8c04e83036df26612e444b0801b8c20d3e0f | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed Oct 20 14:01:42 2021 -0700 |
committer | Felipe Leme <felipeal@google.com> | Tue Oct 26 19:39:48 2021 +0000 |
tree | 247275763ea2e26cc243f2176d5e3debba0dcb85 | |
parent | cb2c37f78f4a54c79d8a60f8e754ef0d3cfc637d [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 Merged-In: Ie7e81a8a5f39f6070e35f2e77bce88a211fd526b (cherry picked from commit 5c0ec3f1debcf5c395609c951cf748315b52219a)