-
- Downloads
Expose system update related API to corp-owned managed profile
Allows profile owner of corporate-owned managed profile to call the following APIs: * setSystemUpdatePolicy * installSystemUpdate The following APIs can already be called by regular profile owners so no changes are needed: * getSystemUpdatePolicy * getPendingSystemUpdate Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSystemUpdatePolicy Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testInstallUpdate Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSystemUpdatePolicy Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallUpdate Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallUpdateLogged Bug: 147414327 Change-Id: I7224eb208f665ca7cb301daa7d17cce5126f7858
Showing
- core/java/android/app/admin/DevicePolicyManager.java 6 additions, 3 deletionscore/java/android/app/admin/DevicePolicyManager.java
- services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java 5 additions, 4 deletions...droid/server/devicepolicy/DevicePolicyManagerService.java
Please register or sign in to comment