Merge "bindDeviceAdminService requires service to be proected by BIND_DEVICE_ADMIN" into oc-dev

am: f4362fda59

Change-Id: I130dc84ecfb47263679f6645a0b243f047c04e33
This commit is contained in:
Tony Mak
2017-04-27 09:48:13 +00:00
committed by android-build-merger
2 changed files with 7 additions and 3 deletions

View File

@@ -7826,7 +7826,8 @@ public class DevicePolicyManager {
* See {@link #getBindDeviceAdminTargetUsers} for a definition of which
* device/profile owners are allowed to bind to services of another profile/device owner.
* <p>
* The service must be unexported. Note that the {@link Context} used to obtain this
* The service must be protected by {@link android.Manifest.permission#BIND_DEVICE_ADMIN}.
* Note that the {@link Context} used to obtain this
* {@link DevicePolicyManager} instance via {@link Context#getSystemService(Class)} will be used
* to bind to the {@link android.app.Service}.
*