From 44465c41c670e033dedda7b9f59f57014e83c4b8 Mon Sep 17 00:00:00 2001 From: samou Date: Wed, 20 Dec 2023 05:04:58 +0000 Subject: [PATCH] bm: add build flag for battery_mitigation Bug: 313831851 Change-Id: I44dae04e86e8fe34f5d2aa17dc72882a19a2810f Signed-off-by: samou --- device.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.mk b/device.mk index d4b3d5f..8dcae29 100644 --- a/device.mk +++ b/device.mk @@ -611,7 +611,9 @@ PRODUCT_PACKAGES += \ android.hardware.health.storage-service.default # Battery Mitigation +ifeq ($(RELEASE_PIXEL_AIDL_BATTERY_MITIGATION_HAL), true) include device/google/gs-common/battery_mitigation/bcl.mk +endif # storage pixelstats -include hardware/google/pixel/pixelstats/device.mk