From 3b4a0bed517c7788bb5eb7b09e505590e9a81814 Mon Sep 17 00:00:00 2001 From: Kai Hsieh Date: Wed, 13 Nov 2024 16:06:54 +0800 Subject: [PATCH] Fixes issue where ripcurrentpro devices ROM build will fail with GIA Root casue: there is no GTI built on ripcurrentpro devices. Solution: Add GTI for ripcurrentpro devices. Test: go/forrest can successfully build for ripcurrentpro and on CM devices: https://android-build.corp.google.com/builds/abtd/run/L56200030007746343. Bug: 378811601 Flag: build.RELEASE_PIXEL_GIA_ENABLED Change-Id: If8a248b1f8f9a9cd82ea1a26aeb5244ec1de12bc Signed-off-by: Kai Hsieh --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index d103e1e..1b84745 100644 --- a/device.mk +++ b/device.mk @@ -584,6 +584,10 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml +ifneq (,$(filter ripcurrentpro, $(TARGET_PRODUCT))) + include device/google/gs-common/touch/gti/gti.mk +endif + # Sensors PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \