Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0316f11f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: Fix threshold for next VSYNC"

parents 56a3290e f83570cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@


namespace {
namespace {


std::optional<int> getProperty(const char* name) {
std::optional<nsecs_t> getProperty(const char* name) {
    char value[PROPERTY_VALUE_MAX];
    char value[PROPERTY_VALUE_MAX];
    property_get(name, value, "-1");
    property_get(name, value, "-1");
    if (const int i = atoi(value); i != -1) return i;
    if (const int i = atoi(value); i != -1) return i;