aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-09-07 22:22:52 +0200
committerChristian Schneppe <christian@pix-art.de>2016-09-07 22:22:52 +0200
commit115fb45aaa56ac87b1e5864c0fda7cee0970af5c (patch)
tree161c926055495ae4b41d2274a80465786bf27d7a /src/main/java
parent749b13204904e16e5971dbc80ea0c71173bb24bf (diff)
ordered config a bit
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/Config.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/Config.java b/src/main/java/de/pixart/messenger/Config.java
index 66dd2bfc9..a115c4162 100644
--- a/src/main/java/de/pixart/messenger/Config.java
+++ b/src/main/java/de/pixart/messenger/Config.java
@@ -78,13 +78,15 @@ public final class Config {
public static final Bitmap.CompressFormat AVATAR_FORMAT = Bitmap.CompressFormat.JPEG;
public static final int IMAGE_SIZE = 1920;
- public static final int VIDEO_SIZE = 640;
public static final Bitmap.CompressFormat IMAGE_FORMAT = Bitmap.CompressFormat.JPEG;
public static final int IMAGE_QUALITY = 75;
+ public static final int IMAGE_MAX_SIZE = 524288; //512 KiB
+
+ public static final int VIDEO_SIZE = 640;
public static final int VIDEO_BITRATE = 500000;
- public static final int IMAGE_MAX_SIZE = 524288; //512 KiB
public static final int VIDEO_MAX_SIZE = 5242880; //5 MiB
- public static final int FILE_MAX_SIZE = 1048576; //1 MiB
+
+ public static final int FILE_MAX_SIZE = 1048576; //1 MiB
public static final int DEFAULT_ZOOM = 15; //for locations