Merge "Add standardized VERSION symbol"
diff --git a/cros_gralloc/mapper_stablec/Mapper.cpp b/cros_gralloc/mapper_stablec/Mapper.cpp
index e01bd6d..6c4ac86 100644
--- a/cros_gralloc/mapper_stablec/Mapper.cpp
+++ b/cros_gralloc/mapper_stablec/Mapper.cpp
@@ -737,6 +737,8 @@
return AIMAPPER_ERROR_NONE;
}
+extern "C" uint32_t ANDROID_HAL_MAPPER_VERSION = AIMAPPER_VERSION_5;
+
extern "C" AIMapper_Error AIMapper_loadIMapper(AIMapper* _Nullable* _Nonnull outImplementation) {
static vendor::mapper::IMapperProvider<CrosGrallocMapperV5> provider;
return provider.load(outImplementation);
diff --git a/cros_gralloc/mapper_stablec/mapper.minigbm.xml b/cros_gralloc/mapper_stablec/mapper.minigbm.xml
index 9785179..2d636fd 100644
--- a/cros_gralloc/mapper_stablec/mapper.minigbm.xml
+++ b/cros_gralloc/mapper_stablec/mapper.minigbm.xml
@@ -1,7 +1,7 @@
<manifest version="1.0" type="device">
<hal format="native">
<name>mapper</name>
- <version>1.0</version>
+ <version>5.0</version>
<interface>
<name>I</name>
<instance>minigbm</instance>