summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-02-09 14:47:07 -0800
committerchaviw <chaviw@google.com>2021-02-09 14:54:42 -0800
commitff265e61777677ce256add37108bef5dae87a42e (patch)
tree96f308adc1722d883e5b61d105a76a56b18397b1 /rs/java/android/renderscript/ProgramStore.java
parent0cc57111bbe6521e39424755c1865ddb6f98432e (diff)
Remove SurfaceSession.nativeKill
SurfaceSession.nativeKill would call SurfaceComposerClient.dispose. This was unsafe since it would only clear the ISurfaceComposerClient binder object, but the SurfaceComposerClient object could still be around. Instead, when calling SurfaceSession.kill, just remove the Java reference, but allow the dtor of SurfaceComposerClient to handle disposing the binder object. Test: Force app to restart while in a sync transaction. No longer shows an error Fixes: 179459565 Change-Id: I322e7f3bd4e7efb3d85d1afe3c4704283f58a985
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions