d71fbe08ac
* Implement minimalistic UDFPS sensors sub-HAL for Xiaomi devices that implement Sensors HAL 1. * It uses sysfs attribute /sys/touchpanel/fp_state exported by touchscreen drivers but list of supported paths can be extended. Change-Id: I5c7653bfbbed20b2f3e00fd8a32cb1277b753b4b
23 lines
379 B
Plaintext
23 lines
379 B
Plaintext
//
|
|
// Copyright (C) 2022 The LineageOS Project
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
cc_library_shared {
|
|
name: "sensors.udfps",
|
|
defaults: ["hidl_defaults"],
|
|
srcs: [
|
|
"udfps_hal.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
header_libs: [
|
|
"libhardware_headers",
|
|
],
|
|
vendor: true,
|
|
}
|