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

Commit b12f59fa authored by Josep del Río's avatar Josep del Río Committed by Android (Google) Code Review
Browse files

Merge "Change palm rejection enabling value" into tm-qpr-dev

parents a1c057f0 4b20779b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -68,8 +68,8 @@ static ::base::TimeTicks toChromeTimestamp(nsecs_t eventTime) {
static bool isPalmRejectionEnabled() {
    std::string value = toLower(
            server_configurable_flags::GetServerConfigurableFlag(INPUT_NATIVE_BOOT,
                                                                 PALM_REJECTION_ENABLED, "false"));
    if (value == "true" || value == "1") {
                                                                 PALM_REJECTION_ENABLED, "0"));
    if (value == "1") {
        return true;
    }
    return false;