Compare commits

...

3 Commits
14 ... 15

Author SHA1 Message Date
LuK1337
674e2c8687
lisa: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-11-06 00:04:28 +05:30
e00af5b2f1
lisa: welcome CAosp-ify
Signed-off-by: zaidkhan0997 <kzaid0997@gmail.com>
2024-11-06 00:04:27 +05:30
basamaryan
3cf717aad0
lisa: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-11-05 16:44:36 +05:30
7 changed files with 9 additions and 105 deletions

View File

@ -5,4 +5,4 @@
# #
PRODUCT_MAKEFILES := \ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_lisa.mk $(LOCAL_DIR)/aosp_lisa.mk

View File

@ -11,14 +11,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit from lisa device # Inherit from lisa device
$(call inherit-product, device/xiaomi/lisa/device.mk) $(call inherit-product, device/xiaomi/lisa/device.mk)
# Inherit some common Evolution-X stuff. # Inherit some common aosp stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk) $(call inherit-product, vendor/aosp/config/common_full_phone.mk)
# Bootanimation # Bootanimation
TARGET_BOOT_ANIMATION_RES := 1080 TARGET_BOOT_ANIMATION_RES := 1080
# Evolution-X Stuff
EVO_BUILD_TYPE := Official
TARGET_FACE_UNLOCK_SUPPORTED := true TARGET_FACE_UNLOCK_SUPPORTED := true
TARGET_SUPPORTS_QUICK_TAP := true TARGET_SUPPORTS_QUICK_TAP := true
@ -26,7 +24,7 @@ PRODUCT_BRAND := Xiaomi
PRODUCT_DEVICE := lisa PRODUCT_DEVICE := lisa
PRODUCT_MANUFACTURER := Xiaomi PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_MODEL := 2109119DG PRODUCT_MODEL := 2109119DG
PRODUCT_NAME := lineage_lisa PRODUCT_NAME := aosp_lisa
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
@ -34,9 +32,9 @@ PRODUCT_SYSTEM_NAME := lisa_global
PRODUCT_SYSTEM_DEVICE := lisa PRODUCT_SYSTEM_DEVICE := lisa
PRODUCT_BUILD_PROP_OVERRIDES += \ PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="lisa_global-user 14 UKQ1.231108.001 V816.0.7.0.UKOMIXM release-keys" \ BuildDesc="lisa_global-user 14 UKQ1.231108.001 V816.0.7.0.UKOMIXM release-keys" \
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \ DeviceName=lisa \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME) DeviceProduct=lisa_global
# Set BUILD_FINGERPRINT variable to be picked up by both system and vendor build.prop # Set BUILD_FINGERPRINT variable to be picked up by both system and vendor build.prop
BUILD_FINGERPRINT := Xiaomi/lisa_global/lisa:14/UKQ1.231108.001/V816.0.7.0.UKOMIXM:user/release-keys BuildFingerprint=Xiaomi/lisa_global/lisa:14/UKQ1.231108.001/V816.0.7.0.UKOMIXM:user/release-keys

View File

@ -12,8 +12,7 @@ $(call inherit-product, vendor/xiaomi/miuicamera-lisa/device.mk)
# Overlays # Overlays
DEVICE_PACKAGE_OVERLAYS += \ DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \ $(LOCAL_PATH)/overlay
$(LOCAL_PATH)/overlay-evolution
# Overlays-RRO # Overlays-RRO
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2021 The Evolution X 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>
<!-- Whether the device supports Smart Pixels -->
<bool name="config_supportSmartPixels">true</bool>
</resources>

View File

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Enable auxiliary cameras selector. -->
<bool name="config_enableAuxCameras">true</bool>
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
<string-array name="config_ignoredAuxCameraIds">
<item>7</item> <!-- no-op front camera -->
</string-array>
<!-- An array of triplets made of (camera ID, qualities, framerates).
These video modes will be added to the available
quality/framerate combinations of a camera device.
Make sure the device is able to handle those configurations
and maintain a stable framerate at any condition.
Note that you can't add video qualities that aren't
exposed by the camera, only new framerates.
Valid values of resolution are:
- "sd" (480p)
- "hd" (720p)
- "fhd" (1080p)
- "uhd" (2160p)
Valid values of framerate are:
- "24"
- "30"
- "60"
- "120"
Example:
<string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd</item> <item>60|120</item>
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
</string-array>
-->
<string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd</item> <item>60</item>
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
</string-array>
</resources>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2021 The Evolution X 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="build_maintainer_summary">zαι∂ κнαи</string>
<string name="build_maintainer_telegram">https://t.me/zaidkhan0997</string>
</resources>

View File

@ -321,21 +321,4 @@
<!-- The default peak refresh rate. --> <!-- The default peak refresh rate. -->
<integer name="config_defaultPeakRefreshRate">90</integer> <integer name="config_defaultPeakRefreshRate">90</integer>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps" translatable="false">true</bool>
<!-- An array of arrays of side fingerprint sensor properties relative to each display.
Note: this value is temporary and is expected to be queried directly
from the HAL in the future. -->
<array name="config_sfps_sensor_props" translatable="false">
<item>@array/config_sfps_sensor_props_0</item>
</array>
<array name="config_sfps_sensor_props_0" translatable="false">
<item></item> <!-- displayId -->
<item>1080</item> <!-- sensorLocationX -->
<item>960</item> <!-- sensorLocationY -->
<item>200</item> <!-- sensorRadius -->
</array>
</resources> </resources>