/*
 * Derived from com.android.mms.data.Contact
 * (tag android-4.4.4_r2.0.1)
 */

package ca.bmaupin.merge.sms.data;

import android.text.TextUtils;

public class Contact {
    private String mNumber;
    private String mName;
	
    public synchronized String getName() {
        if (TextUtils.isEmpty(mName)) {
            return mNumber;
        } else {
            return mName;
        }
    }
}

@@ -131,103 +131,786 @@
 oid.
-text.TextUtils;%0A%0Apublic class Contact %7B%0A    private String mNumber;%0A    private String mName;%0A%09
+content.Context;%0Aimport android.graphics.Bitmap;%0Aimport android.graphics.BitmapFactory;%0Aimport android.graphics.drawable.BitmapDrawable;%0Aimport android.graphics.drawable.Drawable;%0Aimport android.text.TextUtils;%0A%0Apublic class Contact %7B%0A    private String mNumber;%0A    private String mName;%0A    %0A    private BitmapDrawable mAvatar;%0A    private byte %5B%5D mAvatarData;%0A%09%0A    public synchronized Drawable getAvatar(Context context, Drawable defaultValue) %7B%0A        if (mAvatar == null) %7B%0A            if (mAvatarData != null) %7B%0A                Bitmap b = BitmapFactory.decodeByteArray(mAvatarData, 0, mAvatarData.length);%0A                mAvatar = new BitmapDrawable(context.getResources(), b);%0A            %7D%0A        %7D%0A        return mAvatar != null ? mAvatar : defaultValue;%0A    %7D%0A    
 %0A   

Add getAvatar()