commit | 00177cc4479c4309a0802c5ac3970b8ed3df3d8b | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Mon May 15 15:49:17 2017 -0700 |
committer | Robert Carr <racarr@google.com> | Mon May 15 15:49:17 2017 -0700 |
tree | 417ce889b245b0923d1999d41274a7f44708f08f | |
parent | e96d66dbc122904fa4ed246a5db10dddabcb2d18 [diff] |
SurfaceView: Reset window stopped state when attaching to window. We may be stopped, removed from the view hierarchy, and then only attached again after the activity has been restarted, missing our WindowStopped callback to set mWindowStopped=false. At this point we are being added to a visible view, or in ViewRoot#performTraversals so we can assume we are not stopped. Test: Manual from bug. Bug: 37682805 Change-Id: Idf8e061fb7f83b00992a274c7dd704f9e0fcff5f