commit | 026a6c45e77d3dec8f7ae26b74fe6fba18021caf | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Wed Mar 01 13:13:45 2017 -0800 |
committer | Robert Carr <racarr@google.com> | Wed Mar 01 13:13:45 2017 -0800 |
tree | 6d388ff763034314c8d3dd567407dad7908a9ed3 | |
parent | 555bf41049bbc387d920704f7a1f23314bc84986 [diff] |
Correct dissapearing SurfaceView during exit animations. We were missing a call to detachChildren in the case that the visibility change originates from AM (rather than relayout). Thus we were racing relayout with the client to detach fast enough. Detach before notifying the client of window visibility changes. Test: Slow down animation speed. Open close SV app (say Chrome). No flashes. Change-Id: Ibf027c2ca295f25765ba95b36c1346a715f3bc6e