From 57f1d98a67636a797dc03050364349bd757d2be3 Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Thu, 12 Sep 2019 17:53:42 +0800 Subject: [PATCH] Moving "persist.traced.enable" to /product/build.prop This property has a stable API so it can be moved to /product partition. The interface between /product and /system should be stable, but that between /system and /system_ext need not. https://android-review.googlesource.com/c/platform/system/libsysprop/+/952375 Bug: 140788609 Test: build and checks /product/build.prop Change-Id: I3545b22af9aaf4d7f51e88e626e73ac75ded78fc --- target/product/emulator.mk | 4 +++- target/product/emulator_vendor.mk | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target/product/emulator.mk b/target/product/emulator.mk index 322eab440..7ff01cd9f 100644 --- a/target/product/emulator.mk +++ b/target/product/emulator.mk @@ -53,7 +53,9 @@ $(call inherit-product-if-exists, device/generic/goldfish/vendor.mk) #config.disable_location=true # Enable Perfetto traced -PRODUCT_SYSTEM_EXT_PROPERTIES += \ +# There is a stable property API for this prop so we can move it to /product. +# https://android-review.googlesource.com/c/platform/system/libsysprop/+/952375 +PRODUCT_PRODUCT_PROPERTIES += \ persist.traced.enable=1 # enable Google-specific location features, diff --git a/target/product/emulator_vendor.mk b/target/product/emulator_vendor.mk index 9c3be8e2b..e67124eb4 100644 --- a/target/product/emulator_vendor.mk +++ b/target/product/emulator_vendor.mk @@ -58,7 +58,9 @@ $(call inherit-product-if-exists, device/generic/goldfish/vendor.mk) #config.disable_location=true # Enable Perfetto traced -PRODUCT_SYSTEM_EXT_PROPERTIES += \ +# There is a stable property API for this prop so we can move it to /product. +# https://android-review.googlesource.com/c/platform/system/libsysprop/+/952375 +PRODUCT_PRODUCT_PROPERTIES += \ persist.traced.enable=1 # enable Google-specific location features,