private static boolean isRenameAccountAvailableSupported(PinInfo account) {
    // "Rename" action should be visible for all accounts except the Google corp account.
    return !AccountDb.GOOGLE_CORP_ACCOUNT_NAME.equals(account.getIndex().getName());
  }
Checks whether the specified account may be renamed.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java