summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2021-01-05 17:53:32 -0800
committerFelipe Leme <felipeal@google.com>2021-01-22 04:43:22 +0000
commit6ad393d8960d03ba560e7cca09ceba8a0dd6860a (patch)
tree8d9a02d763dc00af383dd506738a7af9b3901773 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent596a4ea492eda8e7f12a24aeab6a6e9abf2843d0 (diff)
Added evenWhenDisallowed param to removeUserOrSetEphemeral().
UserManager.removeUserOrSetEphemeral() was added primarily to be used by CarDevicePolicyManager, in which case it should ignore the no_remove_user restriction. But as it's also used in other places, it needs a new parameter to define this behavior. Test: atest FrameworksServicesTests:com.android.server.pm.UserManagerTest#testRemoveUserOrSetEphemeral_evenWhenRestricted Test: atest FrameworksServicesTests:com.android.server.pm.UserManagerTest # to make sure it didn't break anything Test: atest android.car.apitest.CarDevicePolicyManagerTest#testRemoveUser_whenDisallowed # on automotive Bug: 170887769 Change-Id: If797ace64c0fa0262116f649212bbcb1d61e2046
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions