summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorarty.ho <arty.ho@mstarsemi.com>2018-05-03 10:55:16 +0800
committerArty Ho <arty.ho@mstarsemi.com>2018-09-10 12:36:09 +0000
commit4237ed70b2a41b585f79f2b5d12e96193743342d (patch)
tree7f4baed127a8353a417a92b08ce773e7ba5bc172 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent75fb51b0ecaa941729ce18ba966276c91d33b2b6 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions