diff options
| author | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-10-04 07:59:34 -0700 |
|---|---|---|
| committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-10-04 07:59:34 -0700 |
| commit | 8eef13b47268cec08074c80547e7e3800347843b (patch) | |
| tree | b697c02ff0e17ad28ed879f617677c7d776bef6b /core/java/android/pim | |
| parent | 624380a14def6c2acdb473e09c36139acbcefbf9 (diff) | |
| download | frameworks_base-8eef13b47268cec08074c80547e7e3800347843b.zip frameworks_base-8eef13b47268cec08074c80547e7e3800347843b.tar.gz frameworks_base-8eef13b47268cec08074c80547e7e3800347843b.tar.bz2 | |
Refrain warning when not appropriate. Do not merge
Change-Id: I0066a3d0a2204cfc4beacb69aafccb35b9326bbb
Diffstat (limited to 'core/java/android/pim')
| -rw-r--r-- | core/java/android/pim/vcard/VCardBuilder.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/java/android/pim/vcard/VCardBuilder.java b/core/java/android/pim/vcard/VCardBuilder.java index b2007f2..58f6ebe 100644 --- a/core/java/android/pim/vcard/VCardBuilder.java +++ b/core/java/android/pim/vcard/VCardBuilder.java @@ -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); |
