mirror of https://github.com/M66B/FairEmail.git
Enabled gzip for Play Store version (2)
This commit is contained in:
parent
0f34bd4c49
commit
6a9a71f0d0
|
@ -120,13 +120,13 @@ public class EntityAttachment {
|
||||||
boolean isCompressed() {
|
boolean isCompressed() {
|
||||||
if ("application/zip".equals(type))
|
if ("application/zip".equals(type))
|
||||||
return true;
|
return true;
|
||||||
if ("application/gzip".equals(type) && !BuildConfig.PLAY_STORE_RELEASE)
|
if ("application/gzip".equals(type))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
String extension = Helper.getExtension(name);
|
String extension = Helper.getExtension(name);
|
||||||
if ("zip".equals(extension))
|
if ("zip".equals(extension))
|
||||||
return true;
|
return true;
|
||||||
if ("gz".equals(extension) && !BuildConfig.PLAY_STORE_RELEASE)
|
if ("gz".equals(extension))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue