summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-08-09 15:09:02 -0700
committerJosh Gao <jmgao@google.com>2018-08-09 16:32:42 -0700
commitc81f53f7f114962f757312ac884a279035fe0584 (patch)
tree48e247d892075eea80449f089e8756548e2debde /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9257722c5c091bf8c98a343401f0ff27e50fe29f (diff)
MemoryIntArray: track the owned file descriptor in a PFD.
AUPT is triggering an fdsan diagnostic when creating a temporary ParcelFileDescriptor to write to a Parcel. This code seems correct at first glance, so under the assumption that some other code is closing the file descriptor out from under us, keep our owned file descriptor around as a ParcelFileDescriptor to catch the perpetrator in the act. Bug: http://b/112405224 Test: atest MemoryIntArrayTest (testAshmemSizeMatchesMemoryIntArraySize failed/crashed before, fails now) Change-Id: Ie8ff7562c78ecde4cf1757d572ecb733213cc975
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions