diff options
author | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-03-11 14:09:52 +0000 |
---|---|---|
committer | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-03-11 14:10:09 +0000 |
commit | 15c9ef4cc3c4786767a5db6a9e20c6486c21389a (patch) | |
tree | 29ca501297e6d726c421f5b929e923eecc7ac35f /config/common.mk | |
parent | 6a04a23a52642ec226e6e2b1eeab4498b0923b06 (diff) | |
download | vendor_replicant-15c9ef4cc3c4786767a5db6a9e20c6486c21389a.zip vendor_replicant-15c9ef4cc3c4786767a5db6a9e20c6486c21389a.tar.gz vendor_replicant-15c9ef4cc3c4786767a5db6a9e20c6486c21389a.tar.bz2 |
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: Icfbc92593e37f3c00c3d26dd09e08d09267621ed
Diffstat (limited to 'config/common.mk')
-rw-r--r-- | config/common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/common.mk b/config/common.mk index e8bc676..4bdde31 100644 --- a/config/common.mk +++ b/config/common.mk @@ -229,7 +229,7 @@ endif PRODUCT_PROPERTY_OVERRIDES += \ persist.sys.root_access=0 -PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common +DEVICE_PACKAGE_OVERLAYS += vendor/cm/overlay/common PRODUCT_VERSION_MAJOR = 13 PRODUCT_VERSION_MINOR = 0 |