From d571a0abf55c3d9e9f4f50f6247c328184d506ab Mon Sep 17 00:00:00 2001 From: Shirayuki39 Date: Tue, 12 Nov 2024 10:58:43 +0800 Subject: [PATCH] LG8n: Blissify! * Welcome Back Signed-off-by: Shirayuki39 --- AndroidProducts.mk | 2 +- lineage.dependencies => bliss.dependencies | 0 lineage_LG8n.mk => bliss_LG8n.mk | 9 ++++++--- device.mk | 1 + overlay/SettingsResOverlayLG8n/Android.bp | 12 ++++++++++++ .../SettingsResOverlayLG8n/AndroidManifest.xml | 18 ++++++++++++++++++ .../res/values/strings.xml | 13 +++++++++++++ 7 files changed, 51 insertions(+), 4 deletions(-) rename lineage.dependencies => bliss.dependencies (100%) rename lineage_LG8n.mk => bliss_LG8n.mk (77%) create mode 100644 overlay/SettingsResOverlayLG8n/Android.bp create mode 100644 overlay/SettingsResOverlayLG8n/AndroidManifest.xml create mode 100644 overlay/SettingsResOverlayLG8n/res/values/strings.xml diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 4c81afb..f7c9213 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,5 +5,5 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_LG8n.mk + $(LOCAL_DIR)/bliss_LG8n.mk diff --git a/lineage.dependencies b/bliss.dependencies similarity index 100% rename from lineage.dependencies rename to bliss.dependencies diff --git a/lineage_LG8n.mk b/bliss_LG8n.mk similarity index 77% rename from lineage_LG8n.mk rename to bliss_LG8n.mk index dd10fc4..639d6cf 100644 --- a/lineage_LG8n.mk +++ b/bliss_LG8n.mk @@ -12,10 +12,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, device/tecno/LG8n/device.mk) # Inherit some common LineageOS stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +$(call inherit-product, vendor/bliss/config/common_full_phone.mk) BOARD_VENDOR := TECNO -PRODUCT_NAME := lineage_LG8n +PRODUCT_NAME := bliss_LG8n PRODUCT_DEVICE := LG8n PRODUCT_MANUFACTURER := TECNO PRODUCT_BRAND := TECNO @@ -27,4 +27,7 @@ PRODUCT_BUILD_PROP_OVERRIDES += \ DeviceName=LG8n \ BuildFingerprint=TECNO/LG8n-GL/TECNO-LG8n:12/SP1A.210812.016/240531V1800:user/release-keys - +# BlissFlags +TARGET_BOOT_ANIMATION_RES := 1080 +TARGET_FACE_UNLOCK_SUPPORTED := true +EXTRA_UDFPS_ANIMATIONS := false diff --git a/device.mk b/device.mk index f3dbb45..e61f596 100644 --- a/device.mk +++ b/device.mk @@ -18,6 +18,7 @@ TARGET_SCREEN_WIDTH := 1080 # Overlays PRODUCT_PACKAGES += \ FrameworksResOverlayLG8n \ + SettingsResOverlayLG8n \ SettingsProviderOverlayLG8n \ SystemUIOverlayLG8n diff --git a/overlay/SettingsResOverlayLG8n/Android.bp b/overlay/SettingsResOverlayLG8n/Android.bp new file mode 100644 index 0000000..fddfeff --- /dev/null +++ b/overlay/SettingsResOverlayLG8n/Android.bp @@ -0,0 +1,12 @@ +// +// Copyright (C) 2023 LineageOS +// +// SPDX-License-Identifier: Apache-2.0 +// + +runtime_resource_overlay { + name: "SettingsResOverlayLG8n", + sdk_version: "current", + product_specific: true, + resource_dirs: ["res"] +} diff --git a/overlay/SettingsResOverlayLG8n/AndroidManifest.xml b/overlay/SettingsResOverlayLG8n/AndroidManifest.xml new file mode 100644 index 0000000..ec0e8f2 --- /dev/null +++ b/overlay/SettingsResOverlayLG8n/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/overlay/SettingsResOverlayLG8n/res/values/strings.xml b/overlay/SettingsResOverlayLG8n/res/values/strings.xml new file mode 100644 index 0000000..153616b --- /dev/null +++ b/overlay/SettingsResOverlayLG8n/res/values/strings.xml @@ -0,0 +1,13 @@ + + + + Ren (Shirayuki39/Shirayuki428) +