displaytextactivity: truncate displayed text if too long

This commit is contained in:
Vincent Breitmoser
2015-10-21 21:54:39 +02:00
parent f7bfe932ec
commit d149bfd3db
3 changed files with 13 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ public final class Constants {
public static final int TEMPFILE_TTL = 24 * 60 * 60 * 1000; // 1 day
// the maximal length of plaintext to read in encrypt/decrypt text activities
public static final int TEXT_LENGTH_LIMIT = 1024 * 50;
public static final String SAFESLINGER_SERVER = "safeslinger-openpgp.appspot.com";
public static final class Path {