diff options
author | chaviw <chaviw@google.com> | 2020-05-27 10:09:10 -0700 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2020-05-27 17:55:32 -0700 |
commit | 0a947d95901688be1b864247dea942b5dff2697c (patch) | |
tree | 5bcc4799f48ce5fca73569c2b0984f2fd6ba47f9 /rs/java/android/renderscript/ProgramStore.java | |
parent | 20467761276db28cd9786c9341601ef4d9b032a8 (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/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions