diff --git a/init/init.mmi.overlay.rc b/init/init.mmi.overlay.rc
index 66651bf..5a98f42 100644
--- a/init/init.mmi.overlay.rc
+++ b/init/init.mmi.overlay.rc
@@ -5,8 +5,6 @@ on post-fs
# Sensors
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_enabled
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_pressed
- chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/udfps_enabled
- chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/udfps_pressed
on post-fs-data
diff --git a/resource-overlay/device/Frameworks/res/values/config.xml b/resource-overlay/device/Frameworks/res/values/config.xml
index 83ff46b..0f3db12 100644
--- a/resource-overlay/device/Frameworks/res/values/config.xml
+++ b/resource-overlay/device/Frameworks/res/values/config.xml
@@ -165,9 +165,6 @@
org.lineageos.sensor.double_tap
-
- org.lineageos.sensor.udfps
-
diff --git a/sensors/Sensor.h b/sensors/Sensor.h
index f85a892..e5a5a38 100644
--- a/sensors/Sensor.h
+++ b/sensors/Sensor.h
@@ -134,18 +134,6 @@ class DoubleTapSensor : public SysfsPollingOneShotSensor {
static_cast(static_cast(SensorType::DEVICE_PRIVATE_BASE) + 1)) {}
};
-const std::string kTsUdfpsPressedPath = kTsPath + "udfps_pressed";
-const std::string kTsUdfpsEnabledPath = kTsPath + "udfps_enabled";
-
-class UdfpsSensor : public SysfsPollingOneShotSensor {
- public:
- UdfpsSensor(int32_t sensorHandle, ISensorsEventCallback* callback)
- : SysfsPollingOneShotSensor(
- sensorHandle, callback, kTsUdfpsPressedPath, kTsUdfpsEnabledPath,
- "UDFPS Sensor", "org.lineageos.sensor.udfps",
- static_cast(static_cast(SensorType::DEVICE_PRIVATE_BASE) + 2)) {}
-};
-
} // namespace implementation
} // namespace subhal
} // namespace V2_1
diff --git a/sensors/SensorsSubHal.cpp b/sensors/SensorsSubHal.cpp
index 3c80bb7..9281bfa 100644
--- a/sensors/SensorsSubHal.cpp
+++ b/sensors/SensorsSubHal.cpp
@@ -34,7 +34,6 @@ using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
SensorsSubHal::SensorsSubHal() : mCallback(nullptr), mNextHandle(1) {
AddSensor();
- AddSensor();
}
Return SensorsSubHal::getSensorsList_2_1(ISensors::getSensorsList_2_1_cb _hidl_cb) {