|
|
@ -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;
|
|
|
|