diff options
| author | 2025-02-14 16:00:42 -0800 | |
|---|---|---|
| committer | 2025-02-18 14:05:19 -0800 | |
| commit | a9120be20a38276898795bd883f1d00881880c9b (patch) | |
| tree | 2e5382046f10ee1ed2a250164a93547925b9343d /libs/androidfw/StringPool.cpp | |
| parent | 4e69b47125ba926765cd12e0d307aa127572d9bb (diff) | |
Make PIC native code architecture independent
The size of size_t depends on the architecture (32-bit vs 64-bit).
This CL replaces all occurrences if size_t in the memory layout of PIC
nonces with int32_t. int32_t is more than large enough and it is
guaranteed to be 4 bytes wide in all architectures.
Flag: EXEMPT bug-fix
Bug: 396674280
Test: atest
* FrameworksCoreTests:PropertyInvalidatedCacheTests
* FrameworksCoreTests:IpcDataCacheTest
* CtsOsTestCases:IpcDataCacheTest
Change-Id: I281ecd59b506f64e625890d496d6dede4e178460
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions