Log windows that are being interacted with - 2

This reverts commit 3d989c2a7188cda286356b7c7d4e6b9c514930ed.

Reason for revert: adding null check for getConnectionLocked

Bug: 159249116
Test: adb logcat -b all | grep -i interaction
Change-Id: I1ab3c5a08bce1edc3f11b86f0407e654ba1c7cee
4 files changed