summaryrefslogtreecommitdiff
path: root/common/post_google_car.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common/post_google_car.mk')
-rw-r--r--common/post_google_car.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/common/post_google_car.mk b/common/post_google_car.mk
index ee1b2e4..beea48c 100644
--- a/common/post_google_car.mk
+++ b/common/post_google_car.mk
@@ -20,8 +20,13 @@
# Auto modules
PRODUCT_PACKAGES += \
- android.hardware.automotive.audiocontrol-service.example \
- android.hardware.automotive.can@1.0-service
+ android.hardware.automotive.audiocontrol-service.example
+
+ifneq ($(PIXEL_2023_GEN),)
+ PRODUCT_PACKAGES += android.hardware.automotive.can
+else
+ PRODUCT_PACKAGES += android.hardware.automotive.can@1.0-service
+endif
PRODUCT_PACKAGES_DEBUG += \
canhalctrl \
@@ -56,7 +61,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
persist.eab.supported=0
# Explicitly disable support for some Bluetooth profiles included in base phone builds
-PRODUCT_PRODUCT_PROPERTIES += \
+PRODUCT_PROPERTY_OVERRIDES += \
bluetooth.profile.asha.central.enabled=false \
bluetooth.profile.a2dp.source.enabled=false \
bluetooth.profile.avrcp.target.enabled=false \