Refactoring

pull/194/merge
M66B 4 years ago
parent 868a16fc05
commit 95d791e83e

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

Loading…
Cancel
Save