commit | f8c953de9cfd220c781bc947d9d5768e00943c28 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Tue Jun 13 17:59:11 2023 +0200 |
committer | Iavor-Valentin Iftime <valiiftime@google.com> | Wed Jun 14 14:32:54 2023 +0000 |
tree | cb5336c8351f9606b81fafb0b7b1f01c64a57f91 | |
parent | 7e387fc706c3c21b7ac318bec08f4345884fe7f5 [diff] |
Do not remove toast window token without removing window This causes the 2nd call to removeWindowToken from finishWindowTokenLocked to fail because the window token has been removed from WMS. This causes window leaks in some edge cases, ie. b/286495456. Test: atest WindowUntrustedTouchTest atest ToastWindowTest atest ToastPresenterTest atest ToastUITest Bug: 204272000 Bug: 286495456 Bug: 282262771 Change-Id: I43e640c230fed0fac85631fe584e77d901af0949