diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-02-18 13:52:18 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2020-02-18 16:35:56 -0500 |
commit | 5a190b19bb2c51dac5c1ddfc78fc0b53a5ff121e (patch) | |
tree | b8259449692b831cd17dfe0cf066d7ade317c95d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 898ce7516da6cfa4183349b1e467fa6b8590a6f7 (diff) |
Add Bitmap#getHardwareBuffer
Bug: 148155907
Bug: 135299581
Test: TODO
Hidden for now. We'd like to make it an SDK API eventually
(b/148155907).
Internal code is currently calling createGraphicBufferHandle. This is
not something we plan to expose from the UI rendering module, so add a
method to get a HardwareBuffer instead. This is something we were
already planning to add. It seems that clients of
createGraphicBufferHandle really wanted a Parcelable to pass the
HARDWARE Bitmap to another thread. This should satisfy that use case.
Change-Id: Id701f7c7eab37830cd7d2cdb929cbe6ba4eca119
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions