diff options
| author | 2024-10-18 21:32:46 +0000 | |
|---|---|---|
| committer | 2024-10-23 16:38:59 +0000 | |
| commit | 9729118333e2caf254c83c34ae941f0a7328378f (patch) | |
| tree | a1f9b2df4f27a4c7cc9c9f27de1c08db5d93a919 /libs/androidfw/StringPool.cpp | |
| parent | da55b812c0c6d4146e3fbb1b1584ff48322f25b1 (diff) | |
Cross platform native resources support.
This commit unlocks mac and windows host support for the
AssetManager and ApkAssets JNI bindings.
Included in this change is:
- remove obsolete references to linux only headers like signal.h and
linux/capability
- use the DupFdCloExec wrapper instead of fcntl calls directly
- Instead of using ParcelFileDescritor#adoptFd, create FileDescriptors
via the constructor. This is not strictly necessary but it avoids
use of the android-only FileDescriptor#setInt$ method.
- Also set the FileDescriptor.handle when on windows
Flag: NONE host-only change
Test: atest CtsResourcesTestCasesRavenwood
Change-Id: Ifd4090ca2c5cb746f88280f675b31642aec35769
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions