@Implementation(minSdk = N)
  protected void setOrganizationName(ComponentName admin, @Nullable CharSequence name) {
    """
	Sets organization name.
	
	<p>The API can only be called by profile owner since Android N and can be called by both of
	profile owner and device owner since Android O.
    """
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
      enforceDeviceOwnerOrProfileOwner(admin);
    } else {
      enforceProfileOwner(admin);
    }

    if (TextUtils.isEmpty(name)) {
      organizationName = null;
    } else {
      organizationName = name;
    }
  }
@Implementation(minSdk = N)
  protected void setOrganizationName(ComponentName admin, @Nullable CharSequence name) {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
      enforceDeviceOwnerOrProfileOwner(admin);
    } else {
      enforceProfileOwner(admin);
    }

    if (TextUtils.isEmpty(name)) {
      organizationName = null;
    } else {
      organizationName = name;
    }
  }
@ Implementation ( minSdk = N ) protected void setOrganizationName ( ComponentName admin , @ Nullable CharSequence name ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . O ) { enforceDeviceOwnerOrProfileOwner ( admin ) ; } else { enforceProfileOwner ( admin ) ; } if ( TextUtils . isEmpty ( name ) ) { organizationName = null ; } else { organizationName = name ; } }
Sets organization name.

<p>The API can only be called by profile owner since Android N and can be called by both of
profile owner and device owner since Android O.
Sets organization name .