diff --git a/BoardConfig.mk b/BoardConfig.mk index 2337261..2e199bf 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -11,10 +11,6 @@ include device/motorola/sm6375-common/BoardConfigCommon.mk # Bootloader TARGET_BOOTLOADER_BOARD_NAME := bangkk -# Fingerprint -TARGET_SURFACEFLINGER_UDFPS_LIB := //$(DEVICE_PATH):libudfps_extension.bangkk -SOONG_CONFIG_qtidisplay_udfps := true - # HIDL ODM_MANIFEST_SKUS += b d de dn n ODM_MANIFEST_B_FILES := $(DEVICE_PATH)/sku/manifest_b.xml diff --git a/fingerprint/Android.bp b/fingerprint/Android.bp index 19ec8c7..9795524 100644 --- a/fingerprint/Android.bp +++ b/fingerprint/Android.bp @@ -20,14 +20,3 @@ cc_binary { "com.motorola.hardware.biometric.fingerprint@1.0", ], } - -cc_library_static { - name: "libudfps_extension.bangkk", - srcs: ["UdfpsExtension.cpp"], - include_dirs: [ - "frameworks/native/services/surfaceflinger/CompositionEngine/include" - ], - header_libs: [ - "generated_kernel_headers", - ], -} diff --git a/fingerprint/UdfpsExtension.cpp b/fingerprint/UdfpsExtension.cpp deleted file mode 100644 index 69028a5..0000000 --- a/fingerprint/UdfpsExtension.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SPDX-FileCopyrightText: The LineageOS Project - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include - -uint32_t getUdfpsDimZOrder(uint32_t z) { - return z; -} - -uint32_t getUdfpsZOrder(uint32_t z, bool touched) { - if (touched) { - z |= FOD_PRESSED_LAYER_ZORDER; - } - return z; -} - -uint64_t getUdfpsUsageBits(uint64_t usageBits, bool) { - return usageBits; -}