land: Clean out doze package

Change-Id: Ib1b8cea2b4a4cbe7b526ed8568a0f34bc3470b8c
This commit is contained in:
Zhao Wei Liew 2016-12-24 11:48:17 +08:00
parent 9b82dbb0a2
commit 8148cb41fe
2 changed files with 0 additions and 8 deletions

View file

@ -30,8 +30,6 @@ public abstract class CMSensor {
private static final String TAG = CMSensor.class.getSimpleName(); private static final String TAG = CMSensor.class.getSimpleName();
private static final String DOZE_INTENT = "com.android.systemui.doze.pulse"; private static final String DOZE_INTENT = "com.android.systemui.doze.pulse";
private static final int SENSOR_WAKELOCK_DURATION = 200;
private static final int BATCH_LATENCY_IN_MS = 100; private static final int BATCH_LATENCY_IN_MS = 100;
private Context mContext; private Context mContext;

View file

@ -31,12 +31,6 @@ public class TiltSensor extends CMSensor {
super(context, Sensor.TYPE_TILT_DETECTOR); super(context, Sensor.TYPE_TILT_DETECTOR);
} }
@Override
void enable() {
super.enable();
mEntryTimestamp = SystemClock.elapsedRealtime();
}
@Override @Override
void onSensorEvent(SensorEvent event) { void onSensorEvent(SensorEvent event) {
super.onSensorEvent(event); super.onSensorEvent(event);