From 6b1b173adc9e97f797d3324006f850cf840137ac Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Fri, 13 Mar 2015 14:37:56 -0700 Subject: Make compat lib able to load through the new HAL. Change-Id: I15a10ffd08399b102e0e209958f5230937e8c83a --- rsDriverLoader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rsDriverLoader.cpp') diff --git a/rsDriverLoader.cpp b/rsDriverLoader.cpp index 81455826..b245b4c2 100644 --- a/rsDriverLoader.cpp +++ b/rsDriverLoader.cpp @@ -246,6 +246,10 @@ bool Context::loadDriver(bool forceDefault) { } } #else // RS_COMPATIBILITY_LIB + if (!LoadHalTable(this, rsdHalQueryHal, false)) { + ALOGE("Error loading RS HAL table"); + return false; + } if (rsdHalInit(this, 0, 0) != true) { return false; } -- cgit v1.2.3