diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-04-16 17:14:52 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2020-04-20 10:53:59 -0400 |
commit | 28db33838bcc68e73d428d9a0d14c4c76316b2a7 (patch) | |
tree | b922304e655b0694f795df9ef9d18d835e0d44e0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c8d49effd583b1c6b052c39e52d71d226c029dd0 (diff) |
Do not return a closed HardwareBuffer
Bug: 148155907
Bug: 150395371
Test: I638094c90f7a49bf0f625cf5cdc4e5377f67de79
Follow up to I408cff708efa76f89e0c4c6dae16f19166ffe74d. If the
HardwareBuffer (Java object) held by a Bitmap is closed, it is not
useful to a client. Rather than returning it, create a new object from
the native object.
Change-Id: Ia35f211fb9f42929ac5e50f038de201c9912f918
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions