From fe3d2a0e5655762212432e56ac75a18611b5c0f7 Mon Sep 17 00:00:00 2001 From: Talmid of Levi Date: Fri, 15 Dec 2023 16:06:29 -0500 Subject: [PATCH] Delete patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch --- ...ed-to-send-a-hack-message-to-HAL-to-.patch | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch diff --git a/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch b/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch deleted file mode 100644 index 95d89da..0000000 --- a/patches_treble_td/platform_frameworks_native/0001-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch +++ /dev/null @@ -1,35 +0,0 @@ -From c27f6299504342badced594ae52d0f77eda447eb Mon Sep 17 00:00:00 2001 -From: Pierre-Hugues Husson -Date: Wed, 14 Aug 2019 23:37:10 +0200 -Subject: [PATCH 01/10] On Samsung, we need to send a hack-message to HAL to - get all Sensors - -Change-Id: Id6a1fa48340de61c418493668e9abd22c2599376 ---- - services/sensorservice/SensorDevice.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/services/sensorservice/SensorDevice.cpp b/services/sensorservice/SensorDevice.cpp -index de050e02d0..3daeece62b 100644 ---- a/services/sensorservice/SensorDevice.cpp -+++ b/services/sensorservice/SensorDevice.cpp -@@ -38,6 +38,7 @@ - #include - #include - -+#include - using namespace android::hardware::sensors; - using android::hardware::Return; - using android::util::ProtoOutputStream; -@@ -77,6 +78,8 @@ SensorDevice::SensorDevice() { - } - - void SensorDevice::initializeSensorList() { -+ if(::android::base::GetBoolProperty("persist.sys.phh.samsung_sensors", false)) -+ setMode(5555); - if (mHalWrapper == nullptr) { - return; - } --- -2.34.1 -