Fix InputDeviceInfo.getCapabilities() for video devices.

This CL fixes a bug where the hashed device ID instead of the real
device ID is used to get video input formats for
This bug caused the capabilities to be computed with the fallback list
of video formats instead of the real list.

Bug: 863426


Change-Id: I46b3eb6c22fe43548206d81efaf7a15b99c54456
Commit-Queue: Guido Urdaneta <>
Reviewed-by: Henrik Boström <>
Cr-Commit-Position: refs/heads/master@{#575740}
3 files changed