diff options
| author | 2022-11-16 12:35:56 -0800 | |
|---|---|---|
| committer | 2022-11-17 11:15:53 -0800 | |
| commit | d95b1b0fac5c34eea4dcb264f2c641500d3b62f5 (patch) | |
| tree | ff3dbe8f8ea98c6a40ada7f3b3401b683080b1dc /libs/androidfw/ConfigDescription.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions