commit | d95b1b0fac5c34eea4dcb264f2c641500d3b62f5 | [log] [tgz] |
---|---|---|
author | Aaron Liu <aaronjli@google.com> | Wed Nov 16 12:35:56 2022 -0800 |
committer | Aaron Liu <aaronjli@google.com> | Thu Nov 17 11:15:53 2022 -0800 |
tree | ff3dbe8f8ea98c6a40ada7f3b3401b683080b1dc | |
parent | 2a4339d0730ac9c6bffc7a84fc9ae470415fc459 [diff] |
[User Switcher] filter for only full userinfos. UserInfos are expected to be FLAG_FULL if they are human users. This will filter out the work profile. Fixes: 254634782 Test: Add a work profile on device. Observe bouncer user switcher and dialog user switcher on phone device. Observe that there is no work profile option. Test: Added a unit test. Updated the test suite such that human user infos will be FLAG_FULL Change-Id: I614dc0c6bf56d888511040ec4db4bfdcf7190f94