Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01f4385d authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

Handle the string "default" and ignore it appropriately.

parent aaf15ecb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -363,6 +363,8 @@ public class VCardConfig {
        final String loweredKey = vcardTypeString.toLowerCase();
        if (sVCardTypeMap.containsKey(loweredKey)) {
            return sVCardTypeMap.get(loweredKey);
        } else if ("default".equalsIgnoreCase(vcardTypeString)) {
            return VCARD_TYPE_DEFAULT;
        } else {
            Log.e(LOG_TAG, "Unknown vCard type String: \"" + vcardTypeString + "\"");
            return VCARD_TYPE_DEFAULT;