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
|
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Add a link
Reference in a new issue