Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a86bb7e4 authored by Michael Hoisie's avatar Michael Hoisie
Browse files

Make sqlite JNI available for host Mac and Windows in libandroid_runtime

This involves switching CursorWindow to use MappedFile for mmap-related
operations. The main advantage of FileMap is that it is supported on all
host platforms, including Windows. This change is a no-op in terms of
functionality.

This is a roll-forward of aosp/3000218. However, that CL was rolled back
due to a spurious test failure (testPocCVE_2023_21276). That test has
been updated to avoid unrelated false positives in ag/34986562.

Test: Roboelctric SQLiteDatabaseTest
Test: libandroidfw_tests
Flag: EXEMPT small refactor
Bug: 317884162
Bug: 437248474
Change-Id: I150fd216971cf486beda7c187945a758ebe5589c
parent 1cf0749b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment