summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2019-03-05 18:40:21 +0000
committerJulian Veit <claymore1298@gmail.com>2019-11-16 18:28:33 +0100
commitdd27a3a9e132df9c47ad00f14198748b1ca10b5d (patch)
tree34f207ade43cedac8689136272653e485acaf3aa
parent7748236b2e1d48a234df1a545f9375a7b18aab59 (diff)
m8-common: Pin hex'ed sensors HAL
HTC One M8 exposes a custom sensor "HTC Gesture sensor" with type 27, which is used for SENSOR_TYPE_DEVICE_ORIENTATION sensors. This is now an issue in Pie, since it is a one-shot sensor and cannot be registered by the WindowOrientationListener. Workaround the issue by replacing all the occurrences of 0x1B (the stock value of 'type', which is a member of 'sensor_t' struct) to 0x10001 in the sensors HAL. Alternative to the original solution: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/242737 Change-Id: I99ac93ec485d7c349eb705a4e953e5410d1ae025
-rw-r--r--common-proprietary-files.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-proprietary-files.txt b/common-proprietary-files.txt
index d1f90bb..85d27dd 100644
--- a/common-proprietary-files.txt
+++ b/common-proprietary-files.txt
@@ -313,7 +313,7 @@ vendor/lib/libril-qcril-hook-oem.so:vendor/lib/libril-qcril-hook-oem.so|af8470e2
vendor/lib/libxml.so|f965232d2dcb2a83d2189f4a36df644cd295086f
# Sensors
-lib/hw/sensors.msm8974.so:vendor/lib/hw/sensors.msm8974.so
+vendor/lib/hw/sensors.msm8974.so|f1f3f8a30a95616b1b98dedae92305636aaebc9f
# Time services
-app/TimeService/TimeService.apk:vendor/app/TimeService/TimeService.apk