summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2020-02-18 12:22:17 -0500
committerLeon Scroggins III <scroggo@google.com>2020-02-18 14:13:19 -0500
commit898ce7516da6cfa4183349b1e467fa6b8590a6f7 (patch)
tree392cf05127ab72f687e9e1fe0e3a865c3ea03ca8 /graphics/java
parent1ed2833be3b5eac588f269d1e51048006c62c171 (diff)
[HWUI] Remove private references to AHardwareBuffer
Bug: 135299581 Test: CtsGraphicsTestCases (BitmapTest) Previously, we were calling android_hardware_HardwareBuffer_getNativeHardwareBuffer, which is private. There is already an NDK API for doing the same thing. Ideally, we would use it directly. However, libandroid_graphics (where the calling code resides) cannot depend on libandroid (where the NDK API resides), because that would introduce a circular dependency. Instead, use dlopen/dlsym to find the necessary method. A similar approach was used in ag/9975329. Change-Id: I660bbcd153c52c339245ce2b4ee7765c4efa4623
Diffstat (limited to 'graphics/java')
0 files changed, 0 insertions, 0 deletions