commit | c1d4f195bc63c7c591a540948f79d6156ab1c792 | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Thu Aug 10 13:46:09 2023 -0700 |
committer | Kalesh Singh <kaleshsingh@google.com> | Fri Aug 11 01:29:55 2023 -0700 |
tree | c60ec3aa2f7bdf9c94d7048f00e34d6eeac403dc | |
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>