Skip to content

Instantly share code, notes, and snippets.

View Michenux's full-sized avatar

Laurent Michenaud Michenux

  • Twiddle Technologies
  • Nantes
View GitHub Profile
package org.michenux.drodrolib.accounts;
import android.text.TextUtils;
public class AccountUtils {
public static String buildAccountType(String flavor, String accountName, boolean debug) {
StringBuilder authority = new StringBuilder();
if ( !TextUtils.isEmpty(flavor)) {
authority.append(flavor);