Page MenuHomePhabricator

Use GlobalDbSingleton API on Android to update database in reponse to notifs in CommNotificationsHandler.
ClosedPublic

Authored by marcin on Sep 27 2022, 5:48 AM.
Tags
None
Referenced Files
F2765055: D5237.id17340.diff
Thu, Sep 19, 1:34 PM
F2764934: D5237.id17106.diff
Thu, Sep 19, 1:31 PM
F2764922: D5237.id17414.diff
Thu, Sep 19, 1:31 PM
F2764805: D5237.id17346.diff
Thu, Sep 19, 1:25 PM
F2764804: D5237.id17406.diff
Thu, Sep 19, 1:24 PM
F2760240: D5237.diff
Thu, Sep 19, 6:18 AM
Unknown Object (File)
Fri, Sep 13, 2:24 AM
Unknown Object (File)
Fri, Sep 13, 2:24 AM

Details

Summary

We use GlobalDBSingleton API in Java for two things: 1. Safely update database from CommNotificationsHandler.

Test Plan

Build the app, send notifications and rescinds. Ensure app is not crashing.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/db-singleton
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

looks fine to me, but haven't used java in 10+ years.

This revision is now accepted and ready to land.Sep 28 2022, 4:08 AM
marcin retitled this revision from Use GlobalDbSingleton API on Android to update database in reponse to notifs in CommNotificationsHandler and to eagerly enable multithreading when app is launched to Use GlobalDbSingleton API on Android to update database in reponse to notifs in CommNotificationsHandler..Oct 5 2022, 2:59 AM
marcin edited the summary of this revision. (Show Details)