summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AssembleVintf.cpp2
-rw-r--r--test/AssembleVintfTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/AssembleVintf.cpp b/AssembleVintf.cpp
index d17f1c5..f7f1fb4 100644
--- a/AssembleVintf.cpp
+++ b/AssembleVintf.cpp
@@ -306,7 +306,7 @@ class AssembleVintfImpl : public AssembleVintf {
306 halManifest->framework.mVendorNdks.emplace_back(std::move(v)); 306 halManifest->framework.mVendorNdks.emplace_back(std::move(v));
307 } 307 }
308 308
309 for (auto&& v : getEnvList("PLATFORM_SYSTEMSDK_VERSIONS")) { 309 for (auto&& v : getEnvList("PRODUCT_SYSTEMSDK_VERSIONS")) {
310 halManifest->framework.mSystemSdk.mVersions.emplace(std::move(v)); 310 halManifest->framework.mSystemSdk.mVersions.emplace(std::move(v));
311 } 311 }
312 } 312 }
diff --git a/test/AssembleVintfTest.cpp b/test/AssembleVintfTest.cpp
index 912a11d..4e481ad 100644
--- a/test/AssembleVintfTest.cpp
+++ b/test/AssembleVintfTest.cpp
@@ -374,7 +374,7 @@ TEST_F(AssembleVintfTest, MatrixSystemSdk) {
374 374
375TEST_F(AssembleVintfTest, ManifestSystemSdk) { 375TEST_F(AssembleVintfTest, ManifestSystemSdk) {
376 addInput("manifest.xml", "<manifest version=\"1.0\" type=\"framework\"/>\n"); 376 addInput("manifest.xml", "<manifest version=\"1.0\" type=\"framework\"/>\n");
377 getInstance()->setFakeEnv("PLATFORM_SYSTEMSDK_VERSIONS", "P 1 2 "); 377 getInstance()->setFakeEnv("PRODUCT_SYSTEMSDK_VERSIONS", "P 1 2 ");
378 EXPECT_TRUE(getInstance()->assemble()); 378 EXPECT_TRUE(getInstance()->assemble());
379 EXPECT_IN( 379 EXPECT_IN(
380 "<manifest version=\"1.0\" type=\"framework\">\n" 380 "<manifest version=\"1.0\" type=\"framework\">\n"