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
F3369232: D5237.id17414.diff
Mon, Nov 25, 10:17 PM
F3369231: D5237.id17346.diff
Mon, Nov 25, 10:17 PM
F3369230: D5237.id.diff
Mon, Nov 25, 10:17 PM
F3369229: D5237.diff
Mon, Nov 25, 10:17 PM
F3369003: D5237.diff
Mon, Nov 25, 9:23 PM
F3368435: D5237.id17340.diff
Mon, Nov 25, 7:50 PM
F3368431: D5237.id17106.diff
Mon, Nov 25, 7:49 PM
Unknown Object (File)
Fri, Nov 22, 4:51 PM

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)