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 --- tools/buildinfo.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tools/buildinfo.sh') diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh index ed6bd87..b191b2c 100755 --- a/tools/buildinfo.sh +++ b/tools/buildinfo.sh @@ -35,11 +35,8 @@ echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT" echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT" echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER" -if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then - echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE" -fi -if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then - echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION" +if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then + echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE" fi echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS" echo "ro.board.platform=$TARGET_BOARD_PLATFORM" -- cgit v1.1