2 # Copyright (C) 2020 The LineageOS Project
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 COMMON_PATH
:= device
/motorola
/exynos9610-common
19 # Get non-open-source specific aspects
20 $(call inherit-product-if-exists
, vendor
/motorola
/exynos9610-common
/exynos9610-common-vendor.mk
)
22 DEVICE_PACKAGE_OVERLAYS
+= $(COMMON_PATH
)/overlay
25 AB_OTA_UPDATER
:= true
27 AB_OTA_PARTITIONS
+= \
33 AB_OTA_POSTINSTALL_CONFIG
+= \
34 RUN_POSTINSTALL_system
=true \
35 POSTINSTALL_PATH_system
=system
/bin
/otapreopt_script \
36 FILESYSTEM_TYPE_system
=ext4 \
37 POSTINSTALL_OPTIONAL_system
=true
42 update_engine_sideload \
49 TARGET_BOOTANIMATION_PRELOAD
:= true
50 TARGET_BOOTANIMATION_TEXTURE_CACHE
:= true
51 TARGET_SCREEN_HEIGHT
:= 2520
52 TARGET_SCREEN_WIDTH
:= 1080
55 # Device uses high-density artwork where available
56 PRODUCT_AAPT_CONFIG
:= xlarge
57 PRODUCT_AAPT_PREF_CONFIG
:= xxxhdpi
58 # A list of dpis to select prebuilt apk, in precedence order.
59 PRODUCT_AAPT_PREBUILT_DPI
:= xxxhdpi xxhdpi xhdpi hdpi
62 PRODUCT_COPY_FILES
+= \
63 $(COMMON_PATH
)/configs
/privapp-permissions-hotword.xml
:system
/etc
/permissions
/privapp-permissions-hotword.xml
70 com.android.nfc_extras
73 PRODUCT_COPY_FILES
+= \
74 frameworks
/native
/data
/etc
/android.hardware.telephony.ims.xml
:system
/etc
/permissions
/android.hardware.telephony.ims.xml \
75 frameworks
/native
/data
/etc
/android.hardware.nfc.xml
:system
/etc
/permissions
/android.hardware.nfc.xml \
76 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hce.xml \
77 frameworks
/native
/data
/etc
/android.hardware.nfc.hce.xml
:system
/etc
/permissions
/android.hardware.nfc.hcef.xml