From e79eb15a8ba3806773e036bebf494dea7df83b8e Mon Sep 17 00:00:00 2001 From: Marko Man Date: Fri, 26 Apr 2019 18:22:38 +0200 Subject: [PATCH] sm8150-common: doze: Switch pickup sensor Change-Id: Iad59604f15367e002964ecac3475e46acc319648 --- doze/src/org/lineageos/settings/doze/PickupSensor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doze/src/org/lineageos/settings/doze/PickupSensor.java b/doze/src/org/lineageos/settings/doze/PickupSensor.java index 4e9156bd..5326057d 100644 --- a/doze/src/org/lineageos/settings/doze/PickupSensor.java +++ b/doze/src/org/lineageos/settings/doze/PickupSensor.java @@ -46,7 +46,7 @@ public class PickupSensor implements SensorEventListener { public PickupSensor(Context context) { mContext = context; mSensorManager = mContext.getSystemService(SensorManager.class); - mSensor = Utils.getSensor(mSensorManager, "oneplus.sensor.pickup"); + mSensor = Utils.getSensor(mSensorManager, "oneplus.sensor.op_motion_detect"); mExecutorService = Executors.newSingleThreadExecutor(); }