diff options
author | Robin Lee <rgl@google.com> | 2016-12-19 09:07:16 +0000 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2017-01-09 18:56:12 +0000 |
commit | d2a73ed21152517097a603e03c08eafbce926c3d (patch) | |
tree | fa5b50551236685ff4d8ee6a0821ea20564666b5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8ae761f70351ae62c5ac17f03a39c541c600972f (diff) |
Send EXTRA_USER with DevicePolicy lock broadcasts
DeviceAdmins inside profiles may receive broadcasts referring either
to the parent profile or to themselves.
We need a way to differentiate that.
Same commit fixes a bug in DevicePolicyManagerTest where USER_SYSTEM
is returned twice in getProfiles() when called for a managed profile of
USER_SYSTEM. This does not happen in the real API.
Bug: 30185351
Bug: 31001762
Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Change-Id: Iea2735357f4019b2b81b6784e7ea6aead63f2636
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions