summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2018-04-27 11:56:48 -0700
committerRobert Carr <racarr@google.com>2018-04-27 12:05:00 -0700
commit29daa92be91d0a756f2486d49cadefee24f24467 (patch)
treec209067a3d800ac148f52c594ccf7c507f47b033 /libs/hwui/renderthread/RenderThread.cpp
parent2897fd315d3899a3fced8187cb5acd48c1f07b63 (diff)
Detach children when stopping app.
Prior to the implementation of detachChildren we handled this case via the "mWindowStopped" codepath in SurfaceView.java which this CL deletes. That codepath however causes confusion due to it's failure to set null the SurfaceControl, meaning we may not necessarily recreate it when resuming if we didn't hit any other code-path to do such as happens in linked bug 78588930. Anyway it seems clearest to handle all these preserve-child-surfaces-on-tear-down cases via one mechanism (detachChildren). Bug: 78588930 Test: Manual. Change-Id: Iac7c0bc0c6b4da0d405bdc2b57d13d5c881611b0
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions