@Implementation(minSdk = LOLLIPOP)
  protected boolean setPermittedInputMethods(ComponentName admin, List<String> packageNames) {
    """
	Sets permitted input methods.
	
	<p>The API can be called by either a profile or device owner.
	
	<p>This method does not check already enabled non-system input methods, so will always set the
	restriction and return true.
    """
    enforceDeviceOwnerOrProfileOwner(admin);
    permittedInputMethods = packageNames;
    return true;
  }
@Implementation(minSdk = LOLLIPOP)
  protected boolean setPermittedInputMethods(ComponentName admin, List<String> packageNames) {
    enforceDeviceOwnerOrProfileOwner(admin);
    permittedInputMethods = packageNames;
    return true;
  }
@ Implementation ( minSdk = LOLLIPOP ) protected boolean setPermittedInputMethods ( ComponentName admin , List < String > packageNames ) { enforceDeviceOwnerOrProfileOwner ( admin ) ; permittedInputMethods = packageNames ; return true ; }
Sets permitted input methods.

<p>The API can be called by either a profile or device owner.

<p>This method does not check already enabled non-system input methods, so will always set the
restriction and return true.
Sets permitted input methods .