# # Copyright (C) 2018 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o.mk) # Get non-open-source specific aspects $(call inherit-product-if-exists, vendor/xiaomi/polaris/polaris-vendor.mk) # Boot animation TARGET_SCREEN_HEIGHT := 2160 TARGET_SCREEN_WIDTH := 1080 # Overlays DEVICE_PACKAGE_OVERLAYS += \ $(LOCAL_PATH)/overlay \ $(LOCAL_PATH)/overlay-lineage # Properties -include $(LOCAL_PATH)/device-props.mk # Screen density PRODUCT_AAPT_CONFIG := normal PRODUCT_AAPT_PREF_CONFIG := xxhdpi # Inherit from sdm845-common $(call inherit-product, device/xiaomi/sdm845-common/sdm845.mk) # Input PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/idc/uinput-fpc.idc:system/usr/idc/uinput-fpc.idc \ $(LOCAL_PATH)/idc/uinput-goodix.idc:system/usr/idc/uinput-goodix.idc PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ $(LOCAL_PATH)/keylayout/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl \ $(LOCAL_PATH)/keylayout/uinput-goodix.kl:system/usr/keylayout/uinput-goodix.kl # NFC PRODUCT_PACKAGES += \ com.android.nfc_extras \ com.nxp.nfc.nq \ nqnfcee_access.xml \ nqnfcse_access.xml \ NQNfcNci \ SecureElement \ Tag