package org.thoughtcrime.securesms.profiles; import android.content.Context; import org.thoughtcrime.securesms.mms.MediaConstraints; public class ProfileMediaConstraints extends MediaConstraints { @Override public int getImageMaxWidth(Context context) { return 640; } @Override public int getImageMaxHeight(Context context) { return 640; } @Override public int getImageMaxSize(Context context) { return 5 * 1024 * 1024; } @Override public int getGifMaxSize(Context context) { return 0; } @Override public int getVideoMaxSize(Context context) { return 0; } @Override public int getAudioMaxSize(Context context) { return 0; } @Override public int getDocumentMaxSize(Context context) { return 0; } }