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
Loading
Please register or sign in to comment