diff options
| author | 2019-08-27 19:02:00 +0000 | |
|---|---|---|
| committer | 2019-08-27 19:02:00 +0000 | |
| commit | 0316f11f6df63db1aea7c6d7824810ca8bb6deaa (patch) | |
| tree | c677130176fffb86e240c5b439bd2d149bab38b0 | |
| parent | 56a3290e3d529250d2d31da49b724a0592ec2165 (diff) | |
| parent | f83570cba98776df78b473b4e6bdaa709215b1ed (diff) | |
Merge "SF: Fix threshold for next VSYNC"
| -rw-r--r-- | services/surfaceflinger/Scheduler/PhaseOffsets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Scheduler/PhaseOffsets.cpp b/services/surfaceflinger/Scheduler/PhaseOffsets.cpp index bd25a320db..04e902bda8 100644 --- a/services/surfaceflinger/Scheduler/PhaseOffsets.cpp +++ b/services/surfaceflinger/Scheduler/PhaseOffsets.cpp @@ -24,7 +24,7 @@ namespace { -std::optional<int> getProperty(const char* name) { +std::optional<nsecs_t> getProperty(const char* name) { char value[PROPERTY_VALUE_MAX]; property_get(name, value, "-1"); if (const int i = atoi(value); i != -1) return i; |