commit | 410b5a6f987e3dc4acaed0a7a1fa4e081e0c334b | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Mon Apr 04 14:57:13 2022 -0700 |
committer | Bryce Lee <brycelee@google.com> | Mon Apr 04 14:57:13 2022 -0700 |
tree | 5c63ba67c6f5213d3cfcba2f5155c066da0acf75 | |
parent | b46b98ee488b7f96adab100c31aebd434b683731 [diff] |
Unbind from overlay before checking attached. Currently, DreamService#finish exits early if the window is not attached. The unbind from the dream overlay service follows this condition. As a result, it is possible that the service is not unbound if the window was never attached. This changelist addresses This potential connection leak by having the unbind precede the check. Fixed: 227498355 Test: manual Change-Id: I7a73258cea5219bea96f4de3b90b4b5a66478fde