Log creation and removal of monitors

To help investigate "no swipe-up to go home" gesture issue, add a log
for when gesture monitors are added or removed.

Bug: 182478748
Test: Use TestDPC apk to set up a work profile on the device. Then run
'logcatcolor | grep -i monitor' to check the logs. Turn work profile off
and then on again
Observe: logs when work profile is turned on
04-22 02:29:01.495  5422  5516 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=6132
04-22 02:29:01.548  6132  6132 D TouchInteractionService b/182478748: TouchInteractionService.initInputMonitor: user=0
04-22 02:29:01.548  6132  6132 D TouchInteractionService b/182478748: create swipe-up input monitor: user=0
04-22 02:29:01.552  5422 11731 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=6132
04-22 02:29:01.553  6132  6132 D TouchInteractionService b/182478748: TouchInteractionService.initInputMonitor: user=0
04-22 02:29:01.554  6132  6132 D TouchInteractionService b/182478748: create swipe-up input monitor: user=0
04-22 02:29:01.554  5422  6315 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=6132
04-22 02:29:01.557  5422  5516 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=6132
04-22 02:29:01.573  6132  6132 D TouchInteractionService b/182478748: TouchInteractionService.initInputMonitor: user=0
04-22 02:29:01.574  6132  6132 D TouchInteractionService b/182478748: create swipe-up input monitor: user=0
04-22 02:29:01.575  5422  5516 I InputDispatcher: Erasing monitor swipe-up (server) on display 0, pid=6132
04-22 02:29:01.577  5422  5689 I InputDispatcher: Created monitor swipe-up for display 0, gesture=true, pid=6132

Change-Id: Iaa035fa977f9120e42b91c80a48bc8b6d1fe7003
1 file changed