From b86a845d35da09a864bdd034c561375d3c079b2f Mon Sep 17 00:00:00 2001 From: davigamer987 Date: Thu, 15 Jun 2023 16:22:54 -0300 Subject: [PATCH] eqs: Adapt For PixelOS --- AndroidProducts.mk | 8 ++++---- lineage.dependencies => aosp.dependencies | 0 lineage_eqs.mk => aosp_eqs.mk | 6 +++--- device.mk | 6 ++++++ system.prop | 2 ++ 5 files changed, 15 insertions(+), 7 deletions(-) rename lineage.dependencies => aosp.dependencies (100%) rename lineage_eqs.mk => aosp_eqs.mk (90%) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 70e6d1f..1b46dd6 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -15,9 +15,9 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_eqs.mk + $(LOCAL_DIR)/aosp_eqs.mk COMMON_LUNCH_CHOICES := \ - lineage_eqs-user \ - lineage_eqs-userdebug \ - lineage_eqs-eng + aosp_eqs-user \ + aosp_eqs-userdebug \ + aosp_eqs-eng diff --git a/lineage.dependencies b/aosp.dependencies similarity index 100% rename from lineage.dependencies rename to aosp.dependencies diff --git a/lineage_eqs.mk b/aosp_eqs.mk similarity index 90% rename from lineage_eqs.mk rename to aosp_eqs.mk index 61e606a..b9306f3 100644 --- a/lineage_eqs.mk +++ b/aosp_eqs.mk @@ -21,10 +21,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) # Inherit from eqs device $(call inherit-product, device/motorola/eqs/device.mk) -# Inherit some common Lineage stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +# Inherit some common PixelOS stuff. +$(call inherit-product, vendor/aosp/config/common_full_phone.mk) -PRODUCT_NAME := lineage_eqs +PRODUCT_NAME := aosp_eqs PRODUCT_DEVICE := eqs PRODUCT_MANUFACTURER := motorola PRODUCT_BRAND := motorola diff --git a/device.mk b/device.mk index 56d987e..5b6c1be 100644 --- a/device.mk +++ b/device.mk @@ -14,6 +14,12 @@ # limitations under the License. # +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.camera.privapp.list=com.motorola.camera3 + +PRODUCT_SYSTEM_EXT_PROPERTIES += \ + persist.vendor.camera.privapp.list=com.motorola.camera3 + # Boot animation TARGET_SCREEN_HEIGHT := 2400 TARGET_SCREEN_WIDTH := 1080 diff --git a/system.prop b/system.prop index b27c1b5..3c12dda 100644 --- a/system.prop +++ b/system.prop @@ -1,3 +1,5 @@ # Google ro.opa.device_model_id=motorola-eqs ro.opa.eligible_device=true +persist.vendor.camera.privapp.list=com.motorola.camera3 +