Merge "DO NOT MERGE: remove miscellaneous logging" into cw-f-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c9da667b01
@@ -321,7 +321,6 @@ class AutomaticBrightnessController {
|
|||||||
mLightSensorEnabled = false;
|
mLightSensorEnabled = false;
|
||||||
mRecentLightSamples = 0;
|
mRecentLightSamples = 0;
|
||||||
mHandler.removeMessages(MSG_UPDATE_AMBIENT_LUX);
|
mHandler.removeMessages(MSG_UPDATE_AMBIENT_LUX);
|
||||||
Slog.d(TAG, "disabling light sensor");
|
|
||||||
mSensorManager.unregisterListener(mLightSensorListener);
|
mSensorManager.unregisterListener(mLightSensorListener);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -349,7 +348,6 @@ class AutomaticBrightnessController {
|
|||||||
}
|
}
|
||||||
mAmbientLightRingBuffer.prune(time - mAmbientLightHorizon);
|
mAmbientLightRingBuffer.prune(time - mAmbientLightHorizon);
|
||||||
mAmbientLightRingBuffer.push(time, lux);
|
mAmbientLightRingBuffer.push(time, lux);
|
||||||
Slog.d(TAG, "pushing lux: " + lux);
|
|
||||||
|
|
||||||
// Remember this sample value.
|
// Remember this sample value.
|
||||||
mLastObservedLux = lux;
|
mLastObservedLux = lux;
|
||||||
|
|||||||
Reference in New Issue
Block a user