OSDN Git Service

Don't set ro.product.model and ro.product.manufacturer
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 23 Oct 2019 03:24:34 +0000 (11:24 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 23 Oct 2019 03:24:34 +0000 (11:24 +0800)
We set them at runtime.

tools/buildinfo.sh

index 43c8e9d..40f0ad9 100755 (executable)
@@ -26,7 +26,6 @@ fi
 if [ -n "$AB_OTA_UPDATER" ] ; then
   echo "ro.build.ab_update=$AB_OTA_UPDATER"
 fi
-echo "ro.product.model=$PRODUCT_MODEL"
 echo "ro.product.brand=$PRODUCT_BRAND"
 echo "ro.product.name=$PRODUCT_NAME"
 echo "ro.product.device=$TARGET_DEVICE"
@@ -44,7 +43,6 @@ echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
 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_LOCALE" ] ; then
   echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE"
 fi