code: public boolean activateResetToken(ComponentName admin) {
      if (!passwordResetTokens.containsKey(admin)) {
        throw new IllegalArgumentException("No token set for comopnent: " + admin);
      }
      return componentsWithActivatedTokens.add(admin);
    }
docs: Activates reset token for given admin.
  
  @param admin Which {@link DeviceAdminReceiver} this request is associated with.
  @return if the activation state changed.
  @throws IllegalArgumentException if there is no token set for this admin.