diff options
| author | 2020-07-31 23:20:26 +0000 | |
|---|---|---|
| committer | 2020-07-31 23:20:26 +0000 | |
| commit | 6ec9ae543103ba0a6ea2ada1c5b972c51a305051 (patch) | |
| tree | 582eb360165ad2298d50d2ff58f1e68c5fc10608 | |
| parent | dd39a292aa7ec2b69c88fec9c7f6a9391ccc17bb (diff) | |
| parent | 73a3c9639795069536eb04c705b394373cbb89d5 (diff) | |
Merge "Update language to comply with Android's inclusive language guidance"
| -rw-r--r-- | services/surfaceflinger/Scheduler/DispSync.cpp | 2 | ||||
| -rw-r--r-- | services/surfaceflinger/Scheduler/DispSync.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/Scheduler/DispSync.cpp b/services/surfaceflinger/Scheduler/DispSync.cpp index 0c94052979..04b524169f 100644 --- a/services/surfaceflinger/Scheduler/DispSync.cpp +++ b/services/surfaceflinger/Scheduler/DispSync.cpp @@ -331,7 +331,7 @@ private: return nextEventTime; } - // Sanity check that the duration is close enough in length to a period without + // Check that the duration is close enough in length to a period without // falling into double-rate vsyncs. bool isCloseToPeriod(nsecs_t duration) { // Ratio of 3/5 is arbitrary, but it must be greater than 1/2. diff --git a/services/surfaceflinger/Scheduler/DispSync.h b/services/surfaceflinger/Scheduler/DispSync.h index 3e33c7edc0..0822266479 100644 --- a/services/surfaceflinger/Scheduler/DispSync.h +++ b/services/surfaceflinger/Scheduler/DispSync.h @@ -233,7 +233,7 @@ private: // mZeroErrSamplesCount keeps track of how many times in a row there were // zero timestamps available in the mPresentFences array. - // Used to sanity check that we are able to calculate the model error. + // Used to check that we are able to calculate the model error. size_t mZeroErrSamplesCount; // Whether we have updated the vsync event model since the last resync. |