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

Method onSeen

app/src/main/java/eu/faircode/email/ServiceUI.java:404–419  ·  view source on GitHub ↗
(long id)

Source from the content-addressed store, hash-verified

402 }
403
404 private void onSeen(long id) {
405 DB db = DB.getInstance(this);
406 try {
407 db.beginTransaction();
408
409 EntityMessage message = db.message().getMessage(id);
410 if (message == null)
411 return;
412
413 EntityOperation.queue(this, message, EntityOperation.SEEN, true);
414
415 db.setTransactionSuccessful();
416 } finally {
417 db.endTransaction();
418 }
419 }
420
421 private void onHide(long id) {
422 DB db = DB.getInstance(this);

Callers 1

onHandleIntentMethod · 0.95

Calls 7

getInstanceMethod · 0.95
beginTransactionMethod · 0.95
messageMethod · 0.95
queueMethod · 0.95
endTransactionMethod · 0.95
getMessageMethod · 0.65

Tested by

no test coverage detected