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
2 files changed