config: Enable Android 12 libhwjpeg changes for 9610/9820
diff --git a/BoardConfig9610.mk b/BoardConfig9610.mk
index 0645a75..d1d6c1f 100644
--- a/BoardConfig9610.mk
+++ b/BoardConfig9610.mk
@@ -78,6 +78,9 @@
BOARD_HAS_SCALER_ALIGN_RESTRICTION := true
# LIBHWJPEG
+ifeq ($(BOARD_VENDOR), samsung)
+BOARD_HWJPEG_ANDROID_VERSION := 12
+endif
TARGET_USES_UNIVERSAL_LIBHWJPEG := true
# Acryl
diff --git a/BoardConfig9820.mk b/BoardConfig9820.mk
index 3b871af..7b7e684 100644
--- a/BoardConfig9820.mk
+++ b/BoardConfig9820.mk
@@ -63,6 +63,7 @@
BOARD_HAS_SCALER_ALIGN_RESTRICTION := true
# LIBHWJPEG
+BOARD_HWJPEG_ANDROID_VERSION := 12
TARGET_USES_UNIVERSAL_LIBHWJPEG := true
# Acryl