Disable 32bpp in pure open-source builds.
Bug: 4197654
Change-Id: Ied71399edba0dee88bcd86566622d0d139a5baa2
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 278bf0c..c082896 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -23,6 +23,7 @@
BOARD_USES_LIBSECRIL_STUB := true
BOARD_NO_PAGE_FLIPPING := true
+BOARD_NO_32BPP := true
# Use the non-open-source parts, if they're present
-include vendor/samsung/crespo/BoardConfigVendor.mk
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index 6458a2e..916c1ea 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -80,6 +80,7 @@
BOARD_USES_LIBSECRIL_STUB := false
BOARD_NO_PAGE_FLIPPING := false
+BOARD_NO_32BPP := false
EOF
mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout