summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-05-19 15:06:50 -0700
committerRobert Carr <racarr@google.com>2017-05-19 15:21:58 -0700
commit73678099f8f7886c97fb6ad4a0bfc307bed9ecf3 (patch)
tree499e04f8b42bd3e25bfeef259e2d012f58c73ab5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf3bb49b02ae80a612dd7179dd15ba2c3986db912 (diff)
SurfaceView: Don't destroy Surface while Stopped.
We instead just want to leave it floating, and let it's lifetime be controlled by the parent surface. This way it can take part in animations. Normally the WindowManager handles this by calling detachChildren but it seems sometimes stop arrives before the window manager is even clued in. Rather than bringing ActivityManager in to the detach children dance...this seemed more appropriate and very similar to the behavior before SV->SurfaceControl port. Bug: 37922210 Test: Manual from bug + Launch chrome a bunch Change-Id: Iee4fb0078a6e8dfd4c7acdb0107f8edd3a995634
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions