Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
开源群组
Signal-Android
Commits
b54a271a
Commit
b54a271a
authored
8 years ago
by
Moxie Marlinspike
Browse files
Options
Download
Email Patches
Plain Diff
Bump up push media max edge to 2048 and max size to 4MB
Fixes #672 // FREEBIE
parent
23544fae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/org/thoughtcrime/securesms/mms/PushMediaConstraints.java
src/org/thoughtcrime/securesms/mms/PushMediaConstraints.java
+2
-2
No files found.
src/org/thoughtcrime/securesms/mms/PushMediaConstraints.java
View file @
b54a271a
...
...
@@ -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
4
20
*
K
B
;
return
4
*
M
B
;
}
@Override
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment