From baf3eb93ee4b81fcd2736e7642443799725989fe Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Thu, 15 Jan 2015 18:16:24 +0000 Subject: Add ro.product.locale This is a BCP-47 language tag representing the default locale for a given device. Support for the earlier mechanism of supplying a language and region via ro.product.locale.region/language has been removed. This change also removes support for supplying these properties via PRODUCT_ADDITIONAL_PROPERTY_OVERRIDES. Devices that need to override this should either rearrange their PRODUCT_LANGUAGES or supply a custom .prop file. bug: 17691569 Change-Id: I00c74098542b49b9c514a6ca39ea8d08179546c1 --- CleanSpec.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CleanSpec.mk') diff --git a/CleanSpec.mk b/CleanSpec.mk index 52a1b1f..4591fb7 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -315,6 +315,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop) # an ABI change since the names will mangle differently. $(call add-clean-step, rm -rf $(OUT_DIR)) +# Remove ro.product.locale.language/country and add ro.product.locale +# instead. +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ -- cgit v1.1