summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--device.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/device.mk b/device.mk
index d6b0126..fd56c66 100644
--- a/device.mk
+++ b/device.mk
@@ -55,8 +55,15 @@ PRODUCT_COPY_FILES += \
# remote IME config file
PRODUCT_COPY_FILES += \
- device/amlogic/ampere/files/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl \
+ device/amlogic/ampere/files/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl
+ifneq ($(TARGET_BUILD_GOOGLE_ATV), true)
+PRODUCT_COPY_FILES += \
device/amlogic/ampere/files/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
+else
+PRODUCT_COPY_FILES += \
+ device/amlogic/common/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
+endif
+
PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi