From e00af5b2f1a485144d883fd332fc4c19c981f670 Mon Sep 17 00:00:00 2001 From: zaidkhan0997 Date: Tue, 5 Nov 2024 16:39:01 +0530 Subject: [PATCH] lisa: welcome CAosp-ify Signed-off-by: zaidkhan0997 --- AndroidProducts.mk | 2 +- lineage_lisa.mk => aosp_lisa.mk | 8 ++-- device.mk | 3 +- .../base/core/res/res/values/config.xml | 17 -------- .../app/src/main/res/values/config.xml | 42 ------------------- .../Settings/res/values/evolution_strings.xml | 17 -------- 6 files changed, 5 insertions(+), 84 deletions(-) rename lineage_lisa.mk => aosp_lisa.mk (85%) delete mode 100644 overlay-evolution/frameworks/base/core/res/res/values/config.xml delete mode 100644 overlay-evolution/packages/apps/Aperture/app/src/main/res/values/config.xml delete mode 100644 overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml diff --git a/AndroidProducts.mk b/AndroidProducts.mk index ae77a9d..139cb9b 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,4 +5,4 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_lisa.mk + $(LOCAL_DIR)/aosp_lisa.mk diff --git a/lineage_lisa.mk b/aosp_lisa.mk similarity index 85% rename from lineage_lisa.mk rename to aosp_lisa.mk index d226e10..daaaab5 100644 --- a/lineage_lisa.mk +++ b/aosp_lisa.mk @@ -11,14 +11,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) # Inherit from lisa device $(call inherit-product, device/xiaomi/lisa/device.mk) -# Inherit some common Evolution-X stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +# Inherit some common aosp stuff. +$(call inherit-product, vendor/aosp/config/common_full_phone.mk) # Bootanimation TARGET_BOOT_ANIMATION_RES := 1080 -# Evolution-X Stuff -EVO_BUILD_TYPE := Official TARGET_FACE_UNLOCK_SUPPORTED := true TARGET_SUPPORTS_QUICK_TAP := true @@ -26,7 +24,7 @@ PRODUCT_BRAND := Xiaomi PRODUCT_DEVICE := lisa PRODUCT_MANUFACTURER := Xiaomi PRODUCT_MODEL := 2109119DG -PRODUCT_NAME := lineage_lisa +PRODUCT_NAME := aosp_lisa PRODUCT_GMS_CLIENTID_BASE := android-xiaomi diff --git a/device.mk b/device.mk index ea50842..020b7e0 100644 --- a/device.mk +++ b/device.mk @@ -12,8 +12,7 @@ $(call inherit-product, vendor/xiaomi/miuicamera-lisa/device.mk) # Overlays DEVICE_PACKAGE_OVERLAYS += \ - $(LOCAL_PATH)/overlay \ - $(LOCAL_PATH)/overlay-evolution + $(LOCAL_PATH)/overlay # Overlays-RRO PRODUCT_PACKAGES += \ diff --git a/overlay-evolution/frameworks/base/core/res/res/values/config.xml b/overlay-evolution/frameworks/base/core/res/res/values/config.xml deleted file mode 100644 index 2321c98..0000000 --- a/overlay-evolution/frameworks/base/core/res/res/values/config.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - true - \ No newline at end of file diff --git a/overlay-evolution/packages/apps/Aperture/app/src/main/res/values/config.xml b/overlay-evolution/packages/apps/Aperture/app/src/main/res/values/config.xml deleted file mode 100644 index 395a0bc..0000000 --- a/overlay-evolution/packages/apps/Aperture/app/src/main/res/values/config.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - true - - - - 7 - - - - - 0 sd|hd|fhd 60 - 1 sd|hd|fhd 60 - - diff --git a/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml b/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml deleted file mode 100644 index e4bb53f..0000000 --- a/overlay-evolution/packages/apps/Settings/res/values/evolution_strings.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - zαι∂ κнαи - https://t.me/zaidkhan0997 - \ No newline at end of file