MCPcopy Create free account
hub / github.com/M66B/FairEmail / markIndexed

Method markIndexed

app/src/main/java/eu/faircode/email/WorkerFts.java:131–141  ·  view source on GitHub ↗
(DB db, List<Long> ids)

Source from the content-addressed store, hash-verified

129 }
130
131 private void markIndexed(DB db, List<Long> ids) {
132 try {
133 db.beginTransaction();
134 for (Long id : ids)
135 db.message().setMessageFts(id, true);
136 db.setTransactionSuccessful();
137 } finally {
138 db.endTransaction();
139 }
140 ids.clear();
141 }
142
143 static void init(Context context, boolean immediately) {
144 try {

Callers 1

doWorkMethod · 0.95

Calls 6

setMessageFtsMethod · 0.80
messageMethod · 0.80
beginTransactionMethod · 0.45
endTransactionMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected