Add overview button rate-limiter to fix recurring bug
Processing the TYPE_TOGGLE command immediately makes it relatively easy to start overlapping animations that clobber each other and prevent clean up callbacks from running. This would cause a janky overview animation, a full command queue that can't be emptied and a recents tile than gets stuck on the screen. Added a rate limiter to (hopefully) prevent this type of bug from recurring. Flag: not needed Fixes: 298792963 Test: quickly and repeatedly pressed the overview button, checked logs to check that the error case never occurs anymore and rate-limiter procs instead. Change-Id: I1575c932bb24d2405792539e8a14ed8d4171f5ae
Loading
Please register or sign in to comment