Merge "Fix ICryptoFactory service" into oc-dev

This commit is contained in:
Yahan Zhou
2017-06-28 17:27:20 +00:00
committed by Android (Google) Code Review

View File

@@ -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);