aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordragonGR <alex@dragongr.dev>2022-07-04 19:55:49 +0300
committerdragonGR <alex@dragongr.dev>2022-07-05 22:57:43 +0300
commit0560f77bc17f36fd6c1a7cb0413fc9fc6e212826 (patch)
treeef1a6766d86fd732dcff086b4c982c4a3acc37d1
parent9efc2d776cd4c17e408f3011ba0b0bda62587134 (diff)
enchilada: Bringup AICP
* Typical renames to get proper lunch * rename overlay-lineage to overlay-aicp and deleted everything within it Change-Id: Ib3d7c54cfa15909d4d8a4127e58756404ad46a86
-rw-r--r--AndroidProducts.mk8
-rw-r--r--aicp_enchilada.mk (renamed from lineage_enchilada.mk)6
-rw-r--r--device.mk2
-rw-r--r--overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml61
4 files changed, 8 insertions, 69 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 367b9ff..06283b9 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -15,9 +15,9 @@
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/lineage_enchilada.mk
+ $(LOCAL_DIR)/aicp_enchilada.mk
COMMON_LUNCH_CHOICES := \
- lineage_enchilada-user \
- lineage_enchilada-userdebug \
- lineage_enchilada-eng
+ aicp_enchilada-user \
+ aicp_enchilada-userdebug \
+ aicp_enchilada-eng
diff --git a/lineage_enchilada.mk b/aicp_enchilada.mk
index d26c907..1d9ee30 100644
--- a/lineage_enchilada.mk
+++ b/aicp_enchilada.mk
@@ -21,10 +21,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit from enchilada device
$(call inherit-product, device/oneplus/enchilada/device.mk)
-# Inherit some common Lineage stuff.
-$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
+# Inherit some common aicp stuff.
+$(call inherit-product, vendor/aicp/config/common_full_phone.mk)
-PRODUCT_NAME := lineage_enchilada
+PRODUCT_NAME := aicp_enchilada
PRODUCT_DEVICE := enchilada
PRODUCT_MANUFACTURER := OnePlus
PRODUCT_BRAND := OnePlus
diff --git a/device.mk b/device.mk
index 22cc5dd..f36f0bc 100644
--- a/device.mk
+++ b/device.mk
@@ -27,7 +27,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
- $(LOCAL_PATH)/overlay-lineage
+ $(LOCAL_PATH)/overlay-aicp
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
$(LOCAL_PATH)/overlay/frameworks/base/packages/overlays/NoCutoutOverlay
diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
deleted file mode 100644
index a0119c3..0000000
--- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015-2016 The CyanogenMod Project
- 2017-2018 The LineageOS Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<resources>
- <!-- All the capabilities of the LEDs on this device, stored as a bit field.
- This integer should equal the sum of the corresponding value for each
- of the following capabilities present:
-
- // Device has a color adjustable battery light.
- LIGHTS_RGB_NOTIFICATION_LED = 1
-
- // Device has a color adjustable notification light.
- LIGHTS_RGB_BATTERY_LED = 2
-
- LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated)
-
- // The notification light has adjustable pulsing capability.
- LIGHTS_PULSATING_LED = 8
-
- // Device has a multi-segment battery light that is able to
- // use the light brightness value to determine how many
- // segments to show (in order to represent battery level).
- LIGHTS_SEGMENTED_BATTERY_LED = 16
-
- // The notification light supports HAL adjustable brightness
- // via the alpha channel.
- // Note: if a device notification light supports LIGHTS_RGB_NOTIFICATION_LED
- // then HAL support is not necessary for brightness control. In this case,
- // brightness support will be provided by lineage-sdk through the scaling of
- // RGB color values.
- LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
-
- // Device has a battery light.
- LIGHTS_BATTERY_LED = 64
-
- // The battery light supports HAL adjustable brightness via
- // the alpha channel.
- // Note: if a device battery light supports LIGHTS_RGB_BATTERY_LED then HAL
- // support is not necessary for brightness control. In this case,
- // brightness support will be provided by lineage-sdk through the scaling of
- // RGB color values.
- LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS = 128
-
- For example, a device with notification and battery lights that supports
- pulsating and RGB control would set this config to 75. -->
- <integer name="config_deviceLightCapabilities">107</integer>
-</resources>