universal7885: add Task Profiles 2/2 - Inherit several Android Go configurations and enable Speed Profile services and wifi-service to reduce RAM and storage

Co-authored-by: krasCGQ <kras@raphielgang.org>
This commit is contained in:
SamarV-121 2023-06-23 18:34:13 +03:00 committed by kevios12
commit 6cb36385d7

View file

@ -312,6 +312,15 @@ PRODUCT_SOONG_NAMESPACES += \
hardware/google/pixel \
hardware/samsung
# Speed profile services and wifi-service to reduce RAM and storage
PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := true
PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := frameworks/base/config/boot-image-profile.txt
# Task profiles
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/tasks/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal@1.0-impl \