commit | 70424ac23e7dd226735c590c085b1f609c7231d1 | [log] [tgz] |
---|---|---|
author | Darrell Shi <darrellshi@google.com> | Fri Aug 20 23:01:10 2021 +0000 |
committer | Darrell Shi <darrellshi@google.com> | Wed Aug 25 18:56:59 2021 +0000 |
tree | 9b8518ecddf87ef0c73600550c966a1213a3b1f7 | |
parent | c4c62694f42598ded5aa9691a22b09e05f3b66a0 [diff] |
Fix input monitor issue. This CL fixes an issue of the communal mode where unlocking the device doesn't properly dispose the touch event listener, and it keeps triggering the callback in personal mode. The issue is fixed by handling the InputEventReceiver and disposing it when no longer needed. Change-Id: I0008ceb3edc9dfdbcbfa09c1f68c11e87d2e1f7f Test: atest IdleHostViewControllerTest#testInputEventReceiverLifecycle Bug: 197365101