Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bf43c88 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add full stops to DevicePolicyManager.transferOwnership"

parents 78f3ca84 c4b5541b
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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) {