sm8150-common: doze: Switch pickup sensor

Change-Id: Iad59604f15367e002964ecac3475e46acc319648
This commit is contained in:
Marko Man 2019-04-26 18:22:38 +02:00 committed by LuK1337
parent 0f481839ad
commit e79eb15a8b
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}