summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYahan Zhou <yahan@google.com>2017-06-21 14:24:09 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-06-29 04:42:17 +0000
commita26f27fad9a617687646a437753fa0ba9e69f5ad (patch)
treee336ed509723245d0c5b7917a1a8ef02f4e1d8cd
parent090d50b8acea559beb66f6734a5354dce793f00a (diff)
downloadandroid_hardware_interfaces-a26f27fad9a617687646a437753fa0ba9e69f5ad.tar.gz
android_hardware_interfaces-a26f27fad9a617687646a437753fa0ba9e69f5ad.tar.bz2
android_hardware_interfaces-a26f27fad9a617687646a437753fa0ba9e69f5ad.zip
Fix ICryptoFactory service
BUG: 62642564 BUG: 62138343 Test: vts -m VtsHalDrmV1_0Target Change-Id: Ic697a32b111804fc3dc78f1b6e6b77538d7eeea9 (cherry picked from commit 85a5d8855b07aec3727532983de38c324960d6d1) (cherry picked from commit ccc11be665fd84269247bc49b5536e6ee9b74603)
-rw-r--r--drm/1.0/vts/functional/drm_hal_vendor_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/1.0/vts/functional/drm_hal_vendor_test.cpp b/drm/1.0/vts/functional/drm_hal_vendor_test.cpp
index 33fb6fbac..5d4e7d07c 100644
--- a/drm/1.0/vts/functional/drm_hal_vendor_test.cpp
+++ b/drm/1.0/vts/functional/drm_hal_vendor_test.cpp
@@ -129,7 +129,7 @@ class DrmHalVendorFactoryTest : public testing::TestWithParam<std::string> {
// Do the same for the crypto factory
cryptoFactory = VtsTestBase::getService<ICryptoFactory>(name);
if (cryptoFactory == nullptr) {
- VtsTestBase::getService<ICryptoFactory>();
+ cryptoFactory = VtsTestBase::getService<ICryptoFactory>();
}
ASSERT_NE(cryptoFactory, nullptr);