I would be shocked if the firmware contained a virus, but will report the finding to HiMedia and pass on their reply here.
Other Android 7.0 InputDevices.apk have a same positive report, for example SHIELD Tablet
ro.build.description=wx_na_wf-user 7.0 NRD90M 1928188_1065.2559 release-keys
ro.build.fingerprint=nvidia/wx_na_wf/shieldtablet:7.0/NRD90M/1928188_1065.2559:user/release-keys
SHA-256 41f675f38051f51d8fc0f387bd061978a81995726db4d75125df0f670ea42d8c
File name InputDevices.apk
File size 136.46 KB
Last analysis 2018-11-10 04:56:48 UTC
https://www.virustotal.com/#/file/41f675f38051f51d8fc0f387bd061978a81995726db4d75125df0f670ea42d8c/detection