# Get non-open-source specific aspects
$(call inherit-product, vendor/motorola/exynos9610-common/exynos9610-common-vendor.mk)
+# Enable updating of APEXes
+$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
+
# A/B
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
android.hardware.audio.effect@4.0-impl \
android.hardware.audio@2.0-service \
android.hardware.audio@4.0-impl \
+ android.hardware.bluetooth.audio-impl \
android.hardware.soundtrigger@2.0-impl \
+ audio.bluetooth.default \
audio.r_submix.default \
audio.usb.default \
libtinycompress \
PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
+ frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
+ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
android.frameworks.cameraservice.service@2.1.vendor \
android.hardware.camera.provider@2.4-impl \
android.hardware.camera.provider@2.4-service \
- libsensorndkbridge \
- Snap
+ libsensorndkbridge
# ConfigStore
PRODUCT_PACKAGES += \
# Dex-pre-opt exclusions
$(call add-product-dex-preopt-module-config,MotoSignatureApp,disable)
+# ConfigStore
+PRODUCT_PACKAGES += \
+ disable_configstore
+
# Display
PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.allocator@2.0-service \
- android.hardware.graphics.composer@2.2-service \
+ android.hardware.graphics.composer@2.4-service \
android.hardware.graphics.mapper@2.0-impl-2.1
# DRM
PRODUCT_PACKAGES += \
- android.hardware.drm@1.0-impl \
- android.hardware.drm@1.0-service \
- android.hardware.drm@1.4-service.clearkey \
- android.hardware.drm@1.3.vendor
+ android.hardware.drm-service.clearkey \
+ android.hardware.drm@1.3.vendor \
+ libprotobuf-cpp-lite-3.9.1-vendorcompat
# FastCharge
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service
+# GMS
+ifeq ($(WITH_GMS),true)
+GMS_MAKEFILE=gms_minimal.mk
+endif
+
# GPS
PRODUCT_PACKAGES += \
android.hardware.gnss@2.0.vendor \
$(COMMON_PATH)/configs/init/init.recovery.exynos9610.rc:$(TARGET_COPY_OUT_ROOT)/init.recovery.exynos9610.rc \
$(COMMON_PATH)/configs/init/mobicore.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/mobicore.rc \
$(COMMON_PATH)/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc \
- $(COMMON_PATH)/configs/init/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
+ $(COMMON_PATH)/configs/init/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc \
$(COMMON_PATH)/configs/init/vendor.mmi.carrier.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mmi.carrier.rc \
- $(COMMON_PATH)/configs/fstab.exynos9610:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.exynos9610
+ $(COMMON_PATH)/configs/fstab.exynos9610:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.exynos9610 \
+ $(COMMON_PATH)/configs/fstab.exynos9610:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.exynos9610
# Keymaster
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.light-service.samsung
+# Lineage Health
+PRODUCT_PACKAGES += \
+ vendor.lineage.health-service.default
+
# Livedisplay
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.0-service.exynos9610
# Media
PRODUCT_PACKAGES += \
- libcodec2-hidl-defaults@1.1 \
libcodec2_hidl@1.0.vendor \
libcodec2_hidl@1.1.vendor \
libavservices_minijail_vendor
# MotoActions
PRODUCT_PACKAGES += \
- MotoActions
+ MotoActions \
+ MotoCommonOverlay
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service.samsung \
com.android.nfc_extras \
- NfcNci \
- SecureElement \
Tag
PRODUCT_COPY_FILES += \
android.hardware.radio.deprecated@1.0 \
android.hardware.secure_element@1.0.vendor \
android.hardware.secure_element@1.2 \
- android.hardware.secure_element@1.2.vendor \
- libjson.vendor
+ android.hardware.secure_element@1.2.vendor
# RenderScript HAL
PRODUCT_PACKAGES += \
# Shims
PRODUCT_PACKAGES += \
libaudioproxy_shim \
- libmemset \
+ libmemset_shim \
libdemangle.vendor
# Shipping API
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
+# Soong namespaces
+PRODUCT_SOONG_NAMESPACES += \
+ $(LOCAL_PATH) \
+ hardware/samsung
+
+# Speed profile services and wifi-service to reduce RAM and storage
+PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
+
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal@1.0-impl \
PRODUCT_PACKAGES += \
android.hardware.vibrator@1.0-service.exynos9610
+# VNDK
+PRODUCT_PACKAGES += \
+ libutils-v32
+
# WiFi
PRODUCT_PACKAGES += \
- android.hardware.wifi@1.0-service \
+ android.hardware.wifi@1.0-service.legacy \
hostapd \
- TetheringOverlay \
+ libip_checksum_shim.vendor \
WifiOverlay \
wpa_supplicant