commit | 3ab0a1b7ead4d3b81c8146a969a548dca0dcef65 | [log] [tgz] |
---|---|---|
author | lifr <lifr@google.com> | Fri Aug 06 00:14:26 2021 +0800 |
committer | lifr <lifr@google.com> | Sat Aug 07 02:25:40 2021 +0800 |
tree | 52f9c57471469983f7e6cfb3f2682ccd8f26a637 | |
parent | ec1396b7921acee4f816d2fd2acd02d9268b82c5 [diff] [blame] |
Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference BUG: 161896447 Test: Builds Change-Id: I43377b56c7432fddaf528602f0ebce27db12b0db
diff --git a/services/sensorservice/SensorDevice.cpp b/services/sensorservice/SensorDevice.cpp index c233bf0..c351676 100644 --- a/services/sensorservice/SensorDevice.cpp +++ b/services/sensorservice/SensorDevice.cpp
@@ -168,7 +168,7 @@ } } - // Sanity check and clamp power if it is 0 (or close) + // Check and clamp power if it is 0 (or close) constexpr float MIN_POWER_MA = 0.001; // 1 microAmp if (sensor.power < MIN_POWER_MA) { ALOGI("%s's reported power %f invalid, clamped to %f",