commit | c9ff36a338c3a1279730a8c31407a5570994f537 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Mon Mar 29 18:20:05 2021 -0500 |
committer | chaviw <chaviw@google.com> | Tue Mar 30 09:23:30 2021 -0500 |
tree | 854d3af4cbfd636d1a0aaab800f4d406a33b960d | |
parent | 401128621aa6372398b40ebe7180d7fd6ea5b857 [diff] |
Use AHardwareBuffer_lock instead of AHardwareBuffer_lockAndGetInfo AHardwareBuffer_lockAndGetInfo is not supported on older versions so just use AHardwareBuffer_lock. For now, we don't need bytesPerPixel or bytesPerStride, so it's fine to just lock the buffer without getting the info. Test: DisplayHashManagerTest on device with mapper version < 3.0 Fixes: 183513697 Change-Id: Ied8a6c5c6ad6838e4bf2f5e9d181ff243b83ebca
ExtServices is an updatable Mainline module that contains the logic used by Android framework components such as storage cache, autofill, textclassifier, package watchdog, notifications and notification ranking that run continually. For the new features or bug fixes of these platform defined services above or a new added platform service, it will provide more flexibility and benefits by updating ExtServices in a more frequent cycle than a platform release cycle.
Before you start to develop on ExtServices, please read go/smart-os-extservices to get the guideline.