Merge "Refrain warning when not appropriate. Do not merge" into gingerbread

This commit is contained in:
Daisuke Miyakawa
2010-10-04 08:31:56 -07:00
committed by Android (Google) Code Review

View File

@@ -133,9 +133,11 @@ public class VCardBuilder {
public VCardBuilder(final int vcardType, String charset) {
mVCardType = vcardType;
Log.w(LOG_TAG,
"Should not use vCard 4.0 when building vCard. " +
"It is not officially published yet.");
if (VCardConfig.isVersion40(vcardType)) {
Log.w(LOG_TAG,
"Should not use vCard 4.0 when building vCard. " +
"It is not officially published yet.");
}
mIsV30OrV40 = VCardConfig.isVersion30(vcardType) || VCardConfig.isVersion40(vcardType);
mShouldUseQuotedPrintable = VCardConfig.shouldUseQuotedPrintable(vcardType);