aapt2
aapt2 copied to clipboard
feat: 16kb memory alignment
As of right now, the native file offered by the repository is aligned to 4kb memory page size.
Starting with Android 15, OEM have the option to switch to 16kb memory page size mode which result in faster performance, but however the downsize is when switching, app that uses 4kb page will run in compatiblility mode (and in the future, Android may remove the option of compatiblility mode completely)
2**12 is 2 to the power of 12 so 4096 2**13 is 2 to the power of 13 so 8192 2**14 is 2 to the power of 14 so 16384