libhidltransport is using libvndksupport

android_get_exported_namespace is a platform-only API which is not
visible to libs with vendor_available:true. Instead, an alternative API
android_load_sphal_library from the libvndksupport.so is used.

Bug: 37323945
Test: sailfish builds and boots
Test: BOARD_VNDK_VERSION=current m libhidltransport.vendor successful

Change-Id: I3cb2b24d77e38dc616f237ee7ff2592a3f84f694
Merged-In: I3cb2b24d77e38dc616f237ee7ff2592a3f84f694
2 files changed