commit | d6102197ee8e9816963c8993fb3f84e49d035be8 | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Wed Aug 09 13:26:15 2023 -0700 |
committer | Kalesh Singh <kaleshsingh@google.com> | Wed Aug 09 13:28:33 2023 -0700 |
tree | 3c0879cd9443a452bc8b1f39aa96d0e7a8cbe18a | |
parent | 1e44213dce34af42467c8be5afd5f1e2e2d4b81b [diff] |
CachedAppOptimizer: Remove use of hardcoded 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 CachedAppOptimizer source; use instead getpagesize() which provides the real pagesize. Test: mma Bug: 295082310 Change-Id: I2adc60ffa38bd23442a08cbd80b68f0158057c5e Signed-off-by: Kalesh Singh <kaleshsingh@google.com>