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/SensorEventConnection.cpp b/services/sensorservice/SensorEventConnection.cpp index 9ce8d9b..c58e992 100644 --- a/services/sensorservice/SensorEventConnection.cpp +++ b/services/sensorservice/SensorEventConnection.cpp
@@ -867,7 +867,7 @@ } else if (numBytesRead == sizeof(uint32_t)) { uint32_t numAcks = 0; memcpy(&numAcks, buf, numBytesRead); - // Sanity check to ensure there are no read errors in recv, numAcks is always + // Check to ensure there are no read errors in recv, numAcks is always // within the range and not zero. If any of the above don't hold reset // mWakeLockRefCount to zero. if (numAcks > 0 && numAcks < mWakeLockRefCount) {