sm8150-common: doze: Switch pickup sensor
Change-Id: Iad59604f15367e002964ecac3475e46acc319648
This commit is contained in:
parent
0f481839ad
commit
e79eb15a8b
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue