config: Lower the priority of vendor/cm overlays
The priority order for overlays is PRODUCT > DEVICE > LOCAL
Having PRODUCT here was overriding all of the DEVICE_ specifics
mentioned in device repositories, which was not the intent.
vendor/cm is present as a set of sane defaults, but for the most
part these overlays are intended to be overridable by the device
if needed.
The logic is that PRODUCT_PACKAGE_OVERLAYS should be used by a
particular product while DEVICE_PACKAGE_OVERLAYS is used by
several products that share common device configs. Yeah, the naming
is counterintiuitive, but that's the implementation in
build/core/package_internal.mk
Partially addresses CYNGNOS-2229
Change-Id: I9916e2b407fc088f21651c56e0cff8dfbb28973f
diff --git a/config/common.mk b/config/common.mk
index bf76363..b279a82 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -228,7 +228,7 @@
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.root_access=3
-PRODUCT_PACKAGE_OVERLAYS += vendor/bliss/overlay/common
+DEVICE_PACKAGE_OVERLAYS += vendor/bliss/overlay/common
# by default, do not update the recovery with system updates
PRODUCT_PROPERTY_OVERRIDES += persist.sys.recovery_update=false