Merge "InputDispatcher: Fix crash when there is an ANR after window removal" into main