Skip to content

Improve DrmConnector::name method

Merge request #68 added name method to DrmConnector, but there are still some room for improvement. This merge request does two things:

  1. Fixes compilation issues for older compilers that could have no class template argument deduction support
  2. 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.

Edited by Roman Kovalivskyi

Merge request reports