bangkk: Drop UDFPS extension
No longer needed Change-Id: Ibc805d26e53f967ed3e4bb4c628f8740056fc7c8
This commit is contained in:
parent
d5b61cc666
commit
014ce22afd
3 changed files with 0 additions and 37 deletions
|
@ -11,10 +11,6 @@ include device/motorola/sm6375-common/BoardConfigCommon.mk
|
||||||
# Bootloader
|
# Bootloader
|
||||||
TARGET_BOOTLOADER_BOARD_NAME := bangkk
|
TARGET_BOOTLOADER_BOARD_NAME := bangkk
|
||||||
|
|
||||||
# Fingerprint
|
|
||||||
TARGET_SURFACEFLINGER_UDFPS_LIB := //$(DEVICE_PATH):libudfps_extension.bangkk
|
|
||||||
SOONG_CONFIG_qtidisplay_udfps := true
|
|
||||||
|
|
||||||
# HIDL
|
# HIDL
|
||||||
ODM_MANIFEST_SKUS += b d de dn n
|
ODM_MANIFEST_SKUS += b d de dn n
|
||||||
ODM_MANIFEST_B_FILES := $(DEVICE_PATH)/sku/manifest_b.xml
|
ODM_MANIFEST_B_FILES := $(DEVICE_PATH)/sku/manifest_b.xml
|
||||||
|
|
|
@ -20,14 +20,3 @@ cc_binary {
|
||||||
"com.motorola.hardware.biometric.fingerprint@1.0",
|
"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",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: The LineageOS Project
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <compositionengine/UdfpsExtension.h>
|
|
||||||
#include <display/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;
|
|
||||||
}
|
|
||||||
return z;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint64_t getUdfpsUsageBits(uint64_t usageBits, bool) {
|
|
||||||
return usageBits;
|
|
||||||
}
|
|
Loading…
Reference in a new issue