summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2020-05-27 10:09:10 -0700
committerchaviw <chaviw@google.com>2020-05-27 17:55:32 -0700
commit0a947d95901688be1b864247dea942b5dff2697c (patch)
tree5bcc4799f48ce5fca73569c2b0984f2fd6ba47f9 /rs/java/android/renderscript/RenderScriptGL.java
parent20467761276db28cd9786c9341601ef4d9b032a8 (diff)
Check for null parent when migrating SurfaceControl
When migrating the SurfaceControl, the WC parent can be null. In this case, we create a new SurfaceControl, but set it's parent to null so the layer is still available, but will be offscreen. This way if the parent becomes non null, the SC can get re-parented to the new parent. Test: Split screen with removing secondary app Bug: 153579514 Change-Id: Id0e2f2d5e5b7448c3cafd5b90120777f5175153c
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions