Add full stops to DevicePolicyManager.transferOwnership

Bug: 264847250
Change-Id: Ic84ef166f24cf637b70819838df97e24647ccbb7
Test: NA
This commit is contained in:
Alex Johnston
2023-01-09 13:38:02 +00:00
parent f512145de6
commit c4b5541b48

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