libmeminfo_test: Use vendor api level in the tests

ro.vendor.api_level property is provided for tests to check for the
API level supported by the device. Use it instead of the first_api_level.

Bug: 203839958
Signed-off-by: Suren Baghdasaryan <[email protected]>
Change-Id: I9338ab122d72b9f7011245a566318a500c20e878
diff --git a/libmeminfo_test.cpp b/libmeminfo_test.cpp
index c41e4ff..20159bf 100644
--- a/libmeminfo_test.cpp
+++ b/libmeminfo_test.cpp
@@ -967,7 +967,7 @@
 TEST(SysMemInfo, TestReadGpuTotalUsageKb) {
     uint64_t size;
 
-    if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_S__) {
+    if (android::base::GetIntProperty("ro.vendor.api_level", 0) < __ANDROID_API_S__) {
         GTEST_SKIP();
     }