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
Unknown Object (File)
Fri, Sep 13, 2:24 AM
Unknown Object (File)
Fri, Sep 13, 2:24 AM
Unknown Object (File)
Fri, Sep 13, 2:24 AM
Unknown Object (File)
Fri, Sep 13, 2:24 AM
Unknown Object (File)
Fri, Sep 13, 2:24 AM
Unknown Object (File)
Fri, Sep 13, 2:23 AM
Unknown Object (File)
Fri, Sep 13, 2:15 AM
Unknown Object (File)
Sat, Sep 7, 3:16 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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)