diff options
author | kholoud mohamed <kholoudm@google.com> | 2020-04-22 16:02:48 +0100 |
---|---|---|
committer | Kholoud Mohamed <kholoudm@google.com> | 2020-04-22 17:03:30 +0000 |
commit | 0e8a572d5f6abd4dfcf602815d111dd1c2dba19f (patch) | |
tree | 1f2e6205aeb7a0c69ab6a153daa9692f2e1437d3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d48ca975b68bf312e313c023c7d3b479e26f0fa9 (diff) |
Fix Exception message in UserController#handleIncomingUser
Currently the security exception message always states that
you need INTERACT_ACROSS_USERS if allowMode is not ALLOW_FULL_ONLY.
This is incorrect for allowModes ALLOW_NON_FULL_IN_PROFILE and
ALLOW_ALL_PROFILE_PERMISSIONS_IN_PROFILE, in that case the two
users need to be in the same profile group.
Fixes: 154710776
Test: checked the security message with different permissions
Change-Id: I28977b8f9f9463f6bfa4ea88db0d82c5a7d18057
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions