Merge "Add full stops to DevicePolicyManager.transferOwnership"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4bf43c88b2
@@ -14211,12 +14211,12 @@ public class DevicePolicyManager {
|
||||
* {@link DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}. Otherwise an
|
||||
* {@link IllegalArgumentException} will be thrown.
|
||||
*
|
||||
* @param admin which {@link DeviceAdminReceiver} this request is associated with
|
||||
* @param target which {@link DeviceAdminReceiver} we want the new administrator to be
|
||||
* @param bundle data to be sent to the new administrator
|
||||
* @throws SecurityException if {@code admin} is not a device owner nor a profile owner
|
||||
* @param admin which {@link DeviceAdminReceiver} this request is associated with.
|
||||
* @param target which {@link DeviceAdminReceiver} we want the new administrator to be.
|
||||
* @param bundle data to be sent to the new administrator.
|
||||
* @throws SecurityException if {@code admin} is not a device owner nor a profile owner.
|
||||
* @throws IllegalArgumentException if {@code admin} or {@code target} is {@code null}, they
|
||||
* are components in the same package or {@code target} is not an active admin
|
||||
* are components in the same package or {@code target} is not an active admin.
|
||||
*/
|
||||
public void transferOwnership(@NonNull ComponentName admin, @NonNull ComponentName target,
|
||||
@Nullable PersistableBundle bundle) {
|
||||
|
||||
Reference in New Issue
Block a user