+14
−2
+129
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
* DELEGATION_NETWORK_LOGGING Allow delegated apps to control and retrieve network logging * DELEGATION_CERT_SELECTION Allow delegated apps to automatically select client certificates for apps. * DELEGATION_PACKAGE_INSTALLATION Allow delegated apps to silently install packages. Also introduce DelegatedAdminReceiver which is analogue of the existing DeviceAdminReceiver and enables delegated apps to receive system callbacks related to their delegated capabilities. This CL introduces the three new delegation scopes as well as some implementations changes required to support these three delegations. it also implements the actual logic around DELEGATION_NETWORK_LOGGING and DELEGATION_CERT_SELECTION. Handling DELEGATION_PACKAGE_INSTALLATION will be implmented in a subseqent CL. Bug: 112982695 Test: atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegation Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testDelegation Test: Manual with TestDPC-replica Change-Id: I508fdda0572041cf121d0e297c93d51e981545e3