commit | 3686bac8c3d3cde73542f5faf4241f332430b773 | [log] [tgz] |
---|---|---|
author | Galia Peycheva <galinap@google.com> | Wed Jul 28 13:36:55 2021 +0000 |
committer | Galia Peycheva <galinap@google.com> | Mon Aug 02 10:04:31 2021 +0000 |
tree | 2357a0901a10a4258ebb9e1bd017995e1d61eabb | |
parent | 0a878cabbe8464c89fdb5654b6afd90ce1c661ff [diff] |
Fix Colors crashing on rotation This CL makes the Colors dream service create a new SurfaceView and render thread on every onAttachedToWindow. onAttachedToWindow is called every time on a screen rotation. Bug: 160375160 Test: verify Colors is rendered properly and doesn't crash on rotation Change-Id: I5e76ff5c723b840503bbee113a1c6b3dff0e25dc