Compare commits

...

5 Commits

Author SHA1 Message Date
Jenna 276794fbe5 sm7125-common: switch to android.hardware.usb-service.qti 4 weeks ago
pjgowtham bac259b3be sm7125-common: fingerprint: Set dim layer zOrder 1 month ago
Jenna b6eb2518ed sm7125-common: Build libartpalette 1 month ago
Ruchit 9377663a17 sm7125-common: Also patch libwvhidl with libcrypto-v33.so 1 month ago
GhostMaster69-dev d0d9a8337f sm7125-common: Override default C Compiler for Kernel compilation 1 month ago
  1. 1
      BoardConfigCommon.mk
  2. 6
      common.mk
  3. 2
      extract-files.sh
  4. 6
      fingerprint/UdfpsExtension.cpp

@ -62,6 +62,7 @@ TARGET_KERNEL_SOURCE := kernel/samsung/sm7125
TARGET_KERNEL_ARCH := arm64
TARGET_KERNEL_HEADER_ARCH := arm64
TARGET_LINUX_KERNEL_VERSION := 4.14
KERNEL_CC := CC=clang
# Kernel flags
BOARD_KERNEL_CMDLINE += console=null androidboot.hardware=qcom androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=1 androidboot.usbcontroller=a600000.dwc3 printk.devkmsg=on firmware_class.path=/vendor/firmware_mnt/image

@ -395,7 +395,7 @@ PRODUCT_SOONG_NAMESPACES += bootable/deprecated-ota
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service-qti \
android.hardware.usb-service.qti \
init.qcom.usb.rc \
init.qcom.usb.sh
@ -457,6 +457,10 @@ PRODUCT_SOONG_NAMESPACES += \
hardware/google/pixel \
hardware/samsung
# libartpalette
PRODUCT_HOST_PACKAGES += \
libartpalette
# Prop files
TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop

@ -71,7 +71,7 @@ function blob_fixup() {
# Replace libutils with vndk30 libutils
"${PATCHELF}" --replace-needed libutils.so libutils-v30.so "${2}"
;;
vendor/lib64/hw/gatekeeper.mdfpp.so|vendor/lib64/libskeymaster4device.so)
vendor/lib64/hw/gatekeeper.mdfpp.so|vendor/lib64/libskeymaster4device.so|vendor/lib/libwvhidl.so)
"${PATCHELF}" --replace-needed "libcrypto.so" "libcrypto-v33.so" "${2}"
;;
esac

@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 The LineageOS Project
* Copyright (C) 2022-2024 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.
@ -17,6 +17,10 @@
#include <compositionengine/UdfpsExtension.h>
#include <drm/sde_drm.h>
uint32_t getUdfpsDimZOrder(uint32_t z) {
return z;
}
uint32_t getUdfpsZOrder(uint32_t z, bool touched) {
if (touched) {
z |= FOD_PRESSED_LAYER_ZORDER;

Loading…
Cancel
Save