requested to merge roman.kovalivskyi/drm-hwcomposer:fix-connector-name into master
Merge request #68 added name method to DrmConnector, but there are still some room for improvement. This merge request does two things:
- Fixes compilation issues for older compilers that could have no class template argument deduction support
- Adds check for type index to avoid case when new connector type would be added to DRM. If connector has unknown type then error will be reported via logcat, not via crash due to OOB.
Smoke testing found no regressions, I think this changes are pretty safe.