summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author shubang <shubang@google.com> 2023-05-24 16:49:45 -0700
committer Shubang Lu <shubang@google.com> 2023-05-26 00:54:34 +0000
commitf01fe428413aac20d7299496019e33703e8d9209 (patch)
treed868a5287909178bf151287d17733c3297301bf0 /libs/androidfw/FileStream.cpp
parent75faf08349f2c49ff1ddc0a110048419a98a5c6c (diff)
[TIAF] Dup AdBuffer early to avoid race conditions
If we dup the buffer in the main thread, it's possible that the buffer has been released and is no longer valid. Bug: 280886498 Test: atest TvInteractiveAppServiceTest#testNotifyAdBufferReady Change-Id: I7f07f4ab42f59c2cf91d47d1dd8a8aca93ae70d2
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions