From bcd7219cba5dfaa0012b115a368b394c8c7118b5 Mon Sep 17 00:00:00 2001 From: CakesTwix Date: Tue, 6 Aug 2024 11:53:19 +0300 Subject: [PATCH] clover: 220V --- AndroidProducts.mk | 7 +------ device.mk | 7 +++++++ lineage_clover.mk | 36 ------------------------------------ 3 files changed, 8 insertions(+), 42 deletions(-) delete mode 100644 lineage_clover.mk diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 5617049..2f10112 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -23,9 +23,4 @@ # inherit MI PAD 4 ArrowOS device config PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_clover.mk - -COMMON_LUNCH_CHOICES := \ - lineage_clover-eng \ - lineage_clover-userdebug \ - lineage_clover-user + $(LOCAL_DIR)/voltage_clover.mk diff --git a/device.mk b/device.mk index fd897d3..37d45e6 100644 --- a/device.mk +++ b/device.mk @@ -12,6 +12,13 @@ $(call inherit-product, device/xiaomi/sdm660-common/sdm660.mk) # Device Path DEVICE_PATH := device/xiaomi/clover +# OTA +PRODUCT_PACKAGES += \ + Updater + +# Keys +include vendor/voltage-priv/keys/keys.mk + # PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launched on. PRODUCT_SHIPPING_API_LEVEL := 27 diff --git a/lineage_clover.mk b/lineage_clover.mk deleted file mode 100644 index fc61336..0000000 --- a/lineage_clover.mk +++ /dev/null @@ -1,36 +0,0 @@ -# -# Copyright (C) 2018 The Xiaomi-SDM660 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. - -# -# This file sets variables that control the way modules are built -# thorughout the system. It should not be used to conditionally -# disable makefiles (the proper mechanism to control what gets -# included in a build is to use PRODUCT_PACKAGES in a product -# definition file). -# - -# Inherit some common Arrow stuff -$(call inherit-product, vendor/lineage/config/common_full_tablet.mk) - -# Inherit device configuration -$(call inherit-product, device/xiaomi/clover/device.mk) - -# Device identifier -PRODUCT_BRAND := Xiaomi -PRODUCT_MANUFACTURER := Xiaomi -PRODUCT_NAME := lineage_clover -PRODUCT_CHARACTERISTICS := tablet -PRODUCT_DEVICE := clover -PRODUCT_MODEL := MI PAD 4