diff options
author | 2023-08-10 13:46:09 -0700 | |
---|---|---|
committer | 2023-08-11 01:29:55 -0700 | |
commit | c1d4f195bc63c7c591a540948f79d6156ab1c792 (patch) | |
tree | c60ec3aa2f7bdf9c94d7048f00e34d6eeac403dc /api/api.go | |
parent | f5a3b8a848ef1c3f72d2fa960437ca9b66ead654 (diff) |
protoutil: EncodedBuffer: Remove usage of PAGE_SIZE 4096
bionic hard codes the PAGE_SIZE macro as 4096. This is going away as
Android begins to support larger page sizes. Remove the usage of this
assumption from protoutil source; use instead getpagesize() which
provides the real pagesize.
Test: atest -c libprotoutil_test
Bug: 295228590
Change-Id: I6c3212600256d61a71430dfbbf7b0c9944fe4859
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions