|
|
|
@ -278,6 +278,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|
|
|
|
criteria.with_hidden,
|
|
|
|
|
criteria.with_encrypted,
|
|
|
|
|
criteria.with_attachments,
|
|
|
|
|
criteria.with_notes,
|
|
|
|
|
criteria.with_types == null ? 0 : criteria.with_types.length,
|
|
|
|
|
criteria.with_types == null ? new String[]{} : criteria.with_types,
|
|
|
|
|
criteria.with_size,
|
|
|
|
@ -682,6 +683,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|
|
|
|
boolean with_hidden;
|
|
|
|
|
boolean with_encrypted;
|
|
|
|
|
boolean with_attachments;
|
|
|
|
|
boolean with_notes;
|
|
|
|
|
String[] with_types;
|
|
|
|
|
Integer with_size = null;
|
|
|
|
|
Long after = null;
|
|
|
|
@ -843,6 +845,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|
|
|
|
flags.add(context.getString(R.string.title_search_flag_encrypted));
|
|
|
|
|
if (with_attachments)
|
|
|
|
|
flags.add(context.getString(R.string.title_search_flag_attachments));
|
|
|
|
|
if (with_notes)
|
|
|
|
|
flags.add(context.getString(R.string.title_search_flag_notes));
|
|
|
|
|
if (with_types != null)
|
|
|
|
|
if (with_types.length == 1 && "text/calendar".equals(with_types[0]))
|
|
|
|
|
flags.add(context.getString(R.string.title_search_flag_invite));
|
|
|
|
@ -872,6 +876,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|
|
|
|
this.with_hidden == other.with_hidden &&
|
|
|
|
|
this.with_encrypted == other.with_encrypted &&
|
|
|
|
|
this.with_attachments == other.with_attachments &&
|
|
|
|
|
this.with_notes == other.with_notes &&
|
|
|
|
|
Arrays.equals(this.with_types, other.with_types) &&
|
|
|
|
|
Objects.equals(this.with_size, other.with_size) &&
|
|
|
|
|
Objects.equals(this.after, other.after) &&
|
|
|
|
@ -895,7 +900,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|
|
|
|
" flagged=" + with_flagged +
|
|
|
|
|
" hidden=" + with_hidden +
|
|
|
|
|
" encrypted=" + with_encrypted +
|
|
|
|
|
" attachments=" + with_attachments +
|
|
|
|
|
" w/attachments=" + with_attachments +
|
|
|
|
|
" w/notes=" + with_notes +
|
|
|
|
|
" type=" + (with_types == null ? null : TextUtils.join(",", with_types)) +
|
|
|
|
|
" size=" + with_size +
|
|
|
|
|
" after=" + (after == null ? "" : new Date(after)) +
|
|
|
|
|