diff options
author | arty.ho <arty.ho@mstarsemi.com> | 2018-05-03 10:55:16 +0800 |
---|---|---|
committer | Arty Ho <arty.ho@mstarsemi.com> | 2018-09-10 12:36:09 +0000 |
commit | 4237ed70b2a41b585f79f2b5d12e96193743342d (patch) | |
tree | 7f4baed127a8353a417a92b08ce773e7ba5bc172 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 75fb51b0ecaa941729ce18ba966276c91d33b2b6 (diff) |
Allocate new native handle to store sidebandStream
When we get sidebandStream from TvInput, we only store the address of
native handle, the address point to native_handle_t in _hidl_replay.
After openStream is finished, the _hidl_replay will be freed
automatically, therefore we will use the freed memory in
setSidebandStrem, It will cause the writeNativeHandle fail in
setSidebandStrem.
Change-Id: Idd2e8343670ef5a3048836f1db978cd7c04378b7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions