diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 858d3ed7e90712e754877c4005743c6ea6452dbc..c695d8da37533148eb7bb6cd16f999549eeccb8e 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,2 +1,2 @@ PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_k5fpr.mk + $(LOCAL_DIR)/rr_k5fpr.mk diff --git a/device_k5fpr.mk b/device_k5fpr.mk index 4cd06535d04a39c32514c93e0cf4aa26ed04de08..f20e4483813588b808fc65b379207955c3349f27 100644 --- a/device_k5fpr.mk +++ b/device_k5fpr.mk @@ -17,8 +17,8 @@ LOCAL_PATH := device/lenovo/k5fpr # Hardware-specific permissions PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ - frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml + frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ + frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml # Vendor $(call inherit-product, vendor/lenovo/k5fpr/k5fpr-vendor.mk) diff --git a/lineage_k5fpr.mk b/rr_k5fpr.mk similarity index 90% rename from lineage_k5fpr.mk rename to rr_k5fpr.mk index 5e594b75b9dcc122b2b3413a249780645ce32be4..ea3a17e22a7d72e099f416f394ce5dc6d73a5e9b 100644 --- a/lineage_k5fpr.mk +++ b/rr_k5fpr.mk @@ -20,13 +20,13 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) # Inherit from A7010 device $(call inherit-product, device/lenovo/k5fpr/device_k5fpr.mk) -# Inherit some common LOS stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +# Inherit some common RR stuff. +$(call inherit-product, vendor/rr/config/common.mk) PRODUCT_GMS_CLIENTID_BASE := android-lenovo PRODUCT_DEVICE := k5fpr -PRODUCT_NAME := lineage_k5fpr +PRODUCT_NAME := rr_k5fpr PRODUCT_BRAND := Lenovo PRODUCT_MANUFACTURER := Lenovo PRODUCT_MODEL := Lenovo A7010a48 diff --git a/vendorsetup.sh b/vendorsetup.sh index 5f1f70fbaea651d4199d58ea03c72b077be65ca5..46c51b4d2b7ddf39dc552b8a1c7aeee47d2764ad 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -21,5 +21,5 @@ # function: add_lunch_combo generic-eng for var in eng user userdebug; do - add_lunch_combo lineage_k5fpr-$var + add_lunch_combo rr_k5fpr-$var done