mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Refactoring
This commit is contained in:
parent
868a16fc05
commit
95d791e83e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue