public void setActiveProfile(long identifier, boolean fireOnProfileChanged) {
        if (mAccountHeaderBuilder.mProfiles != null) {
            for (IProfile profile : mAccountHeaderBuilder.mProfiles) {
                if (profile != null) {
                    if (profile.getIdentifier() == identifier) {
                        setActiveProfile(profile, fireOnProfileChanged);
                        return;
                    }
                }
            }
        }
    }
public void setActiveProfile ( long identifier , boolean fireOnProfileChanged ) { if ( mAccountHeaderBuilder . mProfiles != null ) { for ( IProfile profile : mAccountHeaderBuilder . mProfiles ) { if ( profile != null ) { if ( profile . getIdentifier ( ) == identifier ) { setActiveProfile ( profile , fireOnProfileChanged ) ; return ; } } } } }
Selects a profile by its identifier

@param identifier