diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp index d39d99ab807dcfa29d2ec17f493fd14a197f1e5d..d76ac0b9d74e23e08e08bfae11c5d3fcb3ccb3da 100644 --- a/system/gralloc/gralloc.cpp +++ b/system/gralloc/gralloc.cpp @@ -1542,6 +1542,10 @@ struct private_module_t HAL_MODULE_INFO_SYM = { lock: gralloc_lock, unlock: gralloc_unlock, perform: NULL, +#if PLATFORM_SDK_VERSION >= 28 // In Q, we want to specify these, but SDK version is not 29 yet. do not merge this to P + validateBufferSize: NULL, + getTransportSize: NULL, +#endif // PLATFORM_VERSION > 28 #if PLATFORM_SDK_VERSION >= 18 lock_ycbcr: gralloc_lock_ycbcr, #endif // PLATFORM_SDK_VERSION >= 18