From ccc11be665fd84269247bc49b5536e6ee9b74603 Mon Sep 17 00:00:00 2001 From: Yahan Zhou Date: Wed, 21 Jun 2017 14:24:09 -0700 Subject: [PATCH] Fix ICryptoFactory service BUG: 62642564 BUG: 62138343 Test: vts -m VtsHalDrmV1_0Target Change-Id: Ic697a32b111804fc3dc78f1b6e6b77538d7eeea9 (cherry picked from commit 85a5d8855b07aec3727532983de38c324960d6d1) --- drm/1.0/vts/functional/drm_hal_vendor_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 33fb6fbac3..5d4e7d07c3 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 { // Do the same for the crypto factory cryptoFactory = VtsTestBase::getService(name); if (cryptoFactory == nullptr) { - VtsTestBase::getService(); + cryptoFactory = VtsTestBase::getService(); } ASSERT_NE(cryptoFactory, nullptr);