mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Bump up push media max edge to 2048 and max size to 4MB
Fixes #672 // FREEBIE
This commit is contained in:
parent
23544fae8a
commit
b54a271a75
@ -6,7 +6,7 @@ import org.thoughtcrime.securesms.util.Util;
|
||||
|
||||
public class PushMediaConstraints extends MediaConstraints {
|
||||
private static final int MAX_IMAGE_DIMEN_LOWMEM = 768;
|
||||
private static final int MAX_IMAGE_DIMEN = 1280;
|
||||
private static final int MAX_IMAGE_DIMEN = 2048;
|
||||
private static final int KB = 1024;
|
||||
private static final int MB = 1024 * KB;
|
||||
|
||||
@ -22,7 +22,7 @@ public class PushMediaConstraints extends MediaConstraints {
|
||||
|
||||
@Override
|
||||
public int getImageMaxSize() {
|
||||
return 420 * KB;
|
||||
return 4 * MB;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user