commit | d7965fd114bc05cbf1503a8426e95649432f3721 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Dec 14 09:49:56 2020 -1000 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Jan 05 11:11:23 2021 -1000 |
tree | 75297d3deb254fc301e4d43cdbd888074fdc02a3 | |
parent | 250c00cd96359f6c00d5b09682faa7badf706f98 [diff] |
Add detailed reasons for dropping events in ViewRootImpl Currently, ViewRootImpl drops events for several reasons. However, just one reason is written to the log: "dropping event because the window does not have focus". But even if the window has focus, the event can be dropped. Improve the logging by refactoring the "if" check inside ViewRootImpl Test: atest ViewRootImplTest Bug: 173675649 Change-Id: I2ba8270ba09dea63e6497bc830af4c704ada52ef