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

Commit e7fad0b0 authored by Joe Onorato's avatar Joe Onorato Committed by android-build-merger
Browse files

Merge "Always use a positive value for timestamp"

am: bfe66d98

Change-Id: I2ef63775a67e5d7810934025343e6cf5e7bb3aef
parents f44a25f1 bfe66d98
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;
}

/**