diff options
Diffstat (limited to 'src/main/java/de/pixart/messenger/Config.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/Config.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/Config.java b/src/main/java/de/pixart/messenger/Config.java index 262123784..dbf2d6cbe 100644 --- a/src/main/java/de/pixart/messenger/Config.java +++ b/src/main/java/de/pixart/messenger/Config.java @@ -69,7 +69,10 @@ public final class Config { public static final int CONNECT_DISCO_TIMEOUT = 30; public static final int MINI_GRACE_PERIOD = 750; - public static final boolean CLOSE_TCP_WHEN_SWITCHING_TO_BACKGROUND = false; + public static final boolean PUSH_MODE = false; //closes the tcp connection when going to background + //and after PING_MIN_INTERVAL of inactivity + //very experimental. only enable this if you want + //to around with GCM push public static final int AVATAR_SIZE = 720; public static final Bitmap.CompressFormat AVATAR_FORMAT = Bitmap.CompressFormat.JPEG; |