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
F1707621: D6958.diff
Mon, May 6, 4:42 AM
Unknown Object (File)
Apr 1 2024, 12:21 PM
Unknown Object (File)
Mar 28 2024, 5:24 PM
Unknown Object (File)
Mar 28 2024, 5:24 PM
Unknown Object (File)
Mar 28 2024, 5:24 PM
Unknown Object (File)
Mar 28 2024, 5:24 PM
Unknown Object (File)
Mar 28 2024, 5:16 PM
Unknown Object (File)
Feb 21 2024, 10:58 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