diff options
author | Nathan Harold <nharold@google.com> | 2020-03-26 13:08:32 -0700 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2020-03-26 16:53:42 -0700 |
commit | f85a2e9220cb523dcb8c05d04a7bcb8b2cfcaf6d (patch) | |
tree | 9a1b7cc2138bc7d7bcd7854501e6f9865b53edf0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6d4c98513ba3d69f7049c6b89c4af7fd3e1833a9 (diff) |
Check HIDL Discriminator for CSG Info
ART throws an exception if an unpopulated safe union element
is accessed at runtime, so instead we have to check the
hidl_discriminator to see whether the element is populated
before trying to access it (and thus we skip the null check).
Bug: 152486447
Test: atest testCellIdentityLte_1_5_CsgInfo \
testCellIdentityWcdma_1_5_CsgInfo \
testCellIdentityTdscdma_1_5_CsgInfo
Change-Id: I08dc0d2050a9f4d4b574178e1c68a23d015768e4
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions