commit | b05db2511b1f326a66c2478e0466a5a1d17b7e11 | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Fri Jun 25 08:19:59 2021 -0700 |
committer | Patrick Baumann <patb@google.com> | Fri Jun 25 19:43:30 2021 +0000 |
tree | d7ac1207dc166af946890c3c8dce5814b9c0a7dd | |
parent | 270922b370f791bb2e2b0337975542820f9041f6 [diff] |
Fixes incorrect array type comparison A prior change used ArrayUtils.contains to search an int among an array of UserInfos. This was resulting in never running the optimized user add flow in AppsFilter. Test: atest --user-type secondary_user AppsFilterTest AppEnumerationTests Test: [create 2nd user; run as primary] atest AppsFilterTest AppEnumerationTests Bug: 187853334 Change-Id: I8e0a5a4acbf8f06eb7932fb1953ff2af0baf8424