summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2019-02-07 16:47:38 -0800
committerJim Miller <jaggies@google.com>2019-02-07 16:52:20 -0800
commit7b78b22ac1d8f2c7685b149a3b6767ddeea6f3f5 (patch)
treea1fb8408054c74128ef5fdc65bdbc2e2d94f5525 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent23f34cd61f5569927c746090a626e05f740cb2ae (diff)
Ensure setActiveGroup() does the right thing after a HAL crash.
Before this change, it wasn't deterministic to reset the HIDL layer after a simulated HAL crash. It looks like it required a second client to connect before onError() ultimately corrects mCurrentUserId. This code forces mCurrentUserId to an unknown state, which ensures it gets reset when we re-connect to the HAL. Fixes b/124075073 Test: HAL crash resets mCurrentUserId. Change-Id: Icca2ad2463dedaf0834e61c744a2ddcac15f6356
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions