Trace input only if the layer needs an input info

It should skip trace the input if the layer don't need an input info.
Or the 'fillInputInfo' would automatically fill the info if the layer
would be checked in input.

Bug: 227316706
Test: enabled winscope, enabled one hand mode.
Change-Id: I64a3d6328e283d057c528ffda6af3b21cfaf44ee
1 file changed