Page MenuHomePhabricator

[native] Move CommSecureStore::get to main thread to avoid JNI crash
ClosedPublic

Authored by ashoat on Mar 6 2023, 11:55 AM.
Tags
None
Referenced Files
F1788676: D6958.id.diff
Sun, May 19, 1:09 AM
F1787625: D6958.id23468.diff
Sat, May 18, 10:00 PM
Unknown Object (File)
Mon, May 13, 7:32 PM
Unknown Object (File)
Mon, May 13, 7:32 PM
Unknown Object (File)
Mon, May 13, 7:32 PM
Unknown Object (File)
Mon, May 13, 7:32 PM
Unknown Object (File)
Mon, May 13, 7:29 PM
Unknown Object (File)
Sat, May 11, 10:29 AM
Subscribers

Details

Summary

This is option 2 from this Linear comment.

Depends on D6957

Test Plan

Test that the error goes away in favor of another see (see Linear)

Also need to test this on iOS before landing to make sure it doesn't break that, but should be okay

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul added inline comments.
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
834–835 ↗(On Diff #23469)

Verified locally that this was a valid way to split string across multiple lines.. don't think I've seen his before

This revision is now accepted and ready to land.Mar 6 2023, 12:37 PM