summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorphweiss <phweiss@google.com>2016-02-10 12:57:38 +0100
committerphweiss <phweiss@google.com>2016-02-11 14:43:18 +0100
commite9c440638e27a123a82feb5e4677ce1242785288 (patch)
tree4fc7e0527e8a41dbcae8263412c9649b987f5582 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc61e102474c1fe0e16503856531106f8bff9e36b (diff)
DPM.createAndManageUser should work even with DISALLOW_ADD_USER set
For this, the DPM calls a new function UserManagerInternal.createUserEvenWhenDisallowed() instead of UserManager.createUser(). This calls UserManagerService.createUserInternalUnchecked(). Also, only the system user is allowed to call this method, otherwise a security exception is thrown. Bug: 26952210 Bug: 26786199 Change-Id: I69c16354898d68592d13f5f53b840551f7ad4779
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions