cleaton/platform_hardware_libhardware — comment on commit d15a09be49e34bbb4c37d1addb322a06238340b4
File:  line 0
By cleaton:

commit 3540e33e2a2646b8c14a04397682a0c4b839d870 from https://github.com/Unhelpful

"Allow loading of vendor- hardware modules.
If the requested class for a module to be loaded is prefixed with
"vendor-", check that the module class matches the portion after
"vendor-" instead of comparing the full name of the requested class
to the module class. This allows easy use of the libhardware loader
in modules that wrap vendor binaries, which can directly use
hw_get_module to load the vendor binary."