commit | 4b91fbf9426254547136cd51b7070deb745d824f | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Tue Jun 14 15:53:51 2022 +0800 |
committer | Louis Chang <louischang@google.com> | Tue Jun 14 17:23:42 2022 +0800 |
tree | 403365d9a1fee5e6583e9f384c444715d33ff6b6 | |
parent | d7a3e60763530b31c6758e156ec5f0716ca7104f [diff] |
Make sure the relayoutWindow is called when Activity restarted The host visibility was always invisible while making an Activity window active because the host visibility was updated afterward (in ActivityThread#handleStartActivity). Therefore, #relayoutWindow could be skipped and not recreating Surface if the view visibility is not changed since last traversal. Bug: 226324982 Test: repro steps on the bug Change-Id: Id677a375bc2f75b055a9d35c8b8488e97c24eae9