|
|
@ -214,7 +214,7 @@ public class EntityRule {
|
|
|
|
|
|
|
|
|
|
|
|
if (jcondition.has("mimetype")) {
|
|
|
|
if (jcondition.has("mimetype")) {
|
|
|
|
String mimeType = jcondition.getString("mimetype");
|
|
|
|
String mimeType = jcondition.getString("mimetype");
|
|
|
|
|
|
|
|
if (!TextUtils.isEmpty(mimeType)) {
|
|
|
|
boolean found = false;
|
|
|
|
boolean found = false;
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
if (mimeType.equalsIgnoreCase(attachment.getMimeType())) {
|
|
|
|
if (mimeType.equalsIgnoreCase(attachment.getMimeType())) {
|
|
|
@ -226,6 +226,7 @@ public class EntityRule {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Header
|
|
|
|
// Header
|
|
|
|
JSONObject jheader = jcondition.optJSONObject("header");
|
|
|
|
JSONObject jheader = jcondition.optJSONObject("header");
|
|
|
|