summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYtai Ben-Tsvi <ytai@google.com>2020-06-04 13:11:54 -0700
committerYtai Ben-Tsvi <ytai@google.com>2020-06-04 13:57:14 -0700
commit8ed1a8b6aab815bc8851116b4c972724c36600fc (patch)
tree64f909e91686e53490f2c8558654785156f0751e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6a033d239e479a9af756c19f1178150eb9ab777e (diff)
Correctly initialize recognition events upon abort
Aborting a recognition as result of capture being enabled for devices not supporting concurrent capture is the only case of creating those events that is *not* conversion of the HAL events. Unlike their HIDL counterparts, object and array fields of AIDL parcelables are NOT default initialized and so are not considered valid by our conventions. This change make sure those events are valid by default initializing all the fields and setting the model type correctly. Fixes: 157496890 Test: Manual verification of existing sound trigger cases against regression. Change-Id: I4043997d6d75f1fcb8525dcbd051b13ae2bf1d1b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions