Replaces Bundle usage in ScriptExecutor with PersistableBundle. DO NOT
MERGE
The change is driven by the need to control complexity of the data we
transfer from Publishers to Scripts and back to CarTelemetryService and
end users. Due to limited set of supported types of values
PersistableBundle is a better match for this project.
Bug: 197270605
Test: atest ScriptExecutorUnitTest:ScriptExecutorTest
Change-Id: Ib2cd44b69ca4545a2e0c4838486d0bf10b53b30b
diff --git a/service/Android.bp b/service/Android.bp
index 19a5fa2..7f4a329 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -89,6 +89,12 @@
"libcarservicejni",
],
+ aidl: {
+ include_dirs: [
+ "frameworks/native/aidl/binder", // For PersistableBundle.aidl
+ ],
+ },
+
required: ["allowed_privapp_com.android.car"],
// Disable build in PDK, missing aidl import breaks build
@@ -139,6 +145,12 @@
static_libs: common_lib_deps,
+ aidl: {
+ include_dirs: [
+ "frameworks/native/aidl/binder", // For PersistableBundle.aidl
+ ],
+ },
+
product_variables: {
pdk: {
enabled: false,
@@ -163,6 +175,12 @@
"car-frameworks-service",
],
+ aidl: {
+ include_dirs: [
+ "frameworks/native/aidl/binder", // For PersistableBundle.aidl
+ ],
+ },
+
product_variables: {
pdk: {
enabled: false,