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

Commit 813760c9 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Always use a positive value for timestamp" am: bfe66d98 am: e7fad0b0

Change-Id: Ic381b839fd0cde8e924aa967059cf7702dcaf17a
parents 4f45f0d6 e7fad0b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -666,7 +666,7 @@ int64_t WorkDirectory::make_timestamp_ns_locked() {
        clock_gettime(CLOCK_REALTIME, &spec);
        timestampNs = int64_t(spec.tv_sec) * 1000 + spec.tv_nsec;
    } while (file_exists_locked(timestampNs));
    return timestampNs;
    return (timestampNs >= 0)? timestampNs : -timestampNs;
}

/**