diff options
author | Chih-Yu Huang <akahuang@google.com> | 2021-03-11 14:37:21 +0900 |
---|---|---|
committer | Chih-yu Huang <akahuang@google.com> | 2021-03-15 00:48:37 +0000 |
commit | ef546db381280f1f7097a4e39abe91b85b827dff (patch) | |
tree | 41df1e64e1e4f8967a25c1c7413021f19cff2981 /rs/java/android/renderscript/ProgramStore.java | |
parent | 59436521c86d9c63c9215c276f8fd2e922464232 (diff) |
Close the handle returned by WrapNativeCodec2GrallocHandle()
At ag/13824423 we fixed the description of
WrapNativeCodec2GrallocHandle() that the returned handle should be
closed and deleted. This CL closes and deletes the handle if the
ownership of the returned handle is not transfered to
C2GraphicAllocation successfully.
Bug: 181541291
Test: android.media.cts.AdaptivePlaybackTest
Change-Id: I18464f860a93a750db653eb615ae0c92a672535e
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions