InputDevices: Fix compiler warnings

Change-Id: Ic1010e04d574623228d9c2e7d3d4ef31ec2dcc41
Merge "InputDevices: Fix compiler warnings" into cm-10.1