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
Loading
Please register or sign in to comment