Page MenuHomePhabricator

Enrich CommMMKV api with operations that manipulate string set
ClosedPublic

Authored by marcin on Aug 26 2024, 5:03 AM.
Tags
None
Referenced Files
F3002454: D13166.id43725.diff
Fri, Oct 18, 7:54 AM
F3002297: D13166.id43871.diff
Fri, Oct 18, 7:19 AM
Unknown Object (File)
Wed, Oct 2, 3:30 AM
Unknown Object (File)
Fri, Sep 27, 3:38 AM
Unknown Object (File)
Thu, Sep 26, 9:25 AM
Unknown Object (File)
Wed, Sep 25, 3:08 PM
Unknown Object (File)
Tue, Sep 24, 10:03 PM
Unknown Object (File)
Mon, Sep 23, 6:24 AM
Subscribers

Details

Summary

This differential enriches CommMMKV api with new methods that add, remove and get size of set of strings stored in MMKV under some key. The purpose here is to keep list of unread thick threads in MMKV and updated it and use it from notifs code to handle the bacge icon update.

Test Plan

Tested in next differential

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-8284-new-tmp
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Refactor getStringSetSize to getStringSet

tomek added inline comments.
native/android/app/src/main/java/app/comm/android/fbjni/CommMMKV.java
181 ↗(On Diff #43725)

We can simplify it

This revision is now accepted and ready to land.Aug 30 2024, 3:03 AM