Merge "Add full stops to DevicePolicyManager.transferOwnership"

This commit is contained in:
TreeHugger Robot
2023-01-09 15:18:45 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {