diff options
author | Makoto Onuki <omakoto@google.com> | 2015-11-05 13:55:37 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2015-11-24 16:14:21 -0800 |
commit | 3ab6f2e219c167fd35f16b6cf233ae6a39d9de02 (patch) | |
tree | a37b591f2628543232434d2522cd1d83702fdb1e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 774d86693541f94caf23b3b653281eddb32a4da4 (diff) |
DA receiver should be protected with BIND_DEVICE_ADMIN.
- DPM.setActiveAdmin() will not accept DAs without BIND_DEVICE_ADMIN
when it's targeting NYC or above.
- DAs without BIND_DEVICE_ADMIN targeting MNC or below will still be
accepted. (with a logcat warning)
- DAs that are already set on a device without BIND_DEVICE_ADMIN
will still be accepted regardless of the target API level, even when
it's upgraded to a version targeting NYC.
Bug 24168653
Change-Id: I1914c2ec99135d9dd8cbac3f6914f9e43bafacc8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions