Snap for 8564071 from 53c5598b99c6d4733d5e83fa6c4a70b03d6e182a to mainline-wifi-release

Change-Id: I40ceace2ec3bc75d5c1234474c73261ae6b6eaa5
diff --git a/tests/TEST_MAPPING b/tests/TEST_MAPPING
index fb3b813..5bdb1d3 100644
--- a/tests/TEST_MAPPING
+++ b/tests/TEST_MAPPING
@@ -3,5 +3,10 @@
     {
       "name": "dmabufheap-unit-tests"
     }
+  ],
+  "hwasan-postsubmit": [
+    {
+      "name": "dmabufheap-unit-tests"
+    }
   ]
 }
diff --git a/tests/dmabuf_heap_test.cpp b/tests/dmabuf_heap_test.cpp
index c88cf14..d9b00be 100644
--- a/tests/dmabuf_heap_test.cpp
+++ b/tests/dmabuf_heap_test.cpp
@@ -285,7 +285,7 @@
 TEST_F(DmaBufHeapTest, TestDmabufSystemHeapCompliance) {
     using android::vintf::KernelVersion;
 
-    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();
     }