Refactoring

This commit is contained in:
M66B 2021-11-06 08:53:34 +01:00
parent 868a16fc05
commit 95d791e83e
1 changed files with 3 additions and 1 deletions

View File

@ -299,6 +299,8 @@ public class FragmentCompose extends FragmentBase {
private long[] pgpKeyIds;
private long pgpSignKeyId;
private static final long MAX_PGP_BIND_DELAY = 250; // milliseconds
private static final int REDUCED_IMAGE_SIZE = 1440; // pixels
private static final int REDUCED_IMAGE_QUALITY = 90; // percent
// http://regex.info/blog/lightroom-goodies/jpeg-quality
@ -1465,7 +1467,7 @@ public class FragmentCompose extends FragmentBase {
pgpService.bindToService();
// Fall-safe
getMainHandler().postDelayed(load, 250);
getMainHandler().postDelayed(load, MAX_PGP_BIND_DELAY);
}
@Override