OSDN Git Service

Allow cross profile call between DO and PO
authorTony Mak <tonymak@google.com>
Mon, 14 Nov 2016 12:53:06 +0000 (12:53 +0000)
committerTony Mak <tonymak@google.com>
Mon, 14 Nov 2016 14:20:11 +0000 (14:20 +0000)
commit46aabe5ef4362014914b7df707c2de2341211d69
tree49e1ae793bffa18642826610eb31cf0fa13e26f7
parentb53e048b92df6bd6f4e31f36a95e46f82298fd2a
Allow cross profile call between DO and PO

Allow DO to bind service of PO in managed profile and vice versa.
DO and PO must be the same package.

Bug: 31895999

Change-Id: I3ce2943aebd1249401d5814757a0ce25b9f85279
Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.CorpOwnedManagedProfileTest
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/app/ContextImpl.java
core/java/android/app/admin/DevicePolicyManager.java
core/java/android/app/admin/IDevicePolicyManager.aidl
core/java/android/content/Context.java
core/java/android/content/ContextWrapper.java
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
test-runner/src/android/test/mock/MockContext.java