commit | 783e0e5faad2ca23f7e9835906c26ecac1cd712e | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Tue Jan 25 18:50:02 2022 +0000 |
committer | Sean Keys <skeys@google.com> | Tue Jan 25 20:50:14 2022 +0000 |
tree | 35dc7706229313f8ced6420f784d14ff4a8f54ac | |
parent | 44b21e87bc6020de6a1714d779a44c7fe6a804bf [diff] |
nfc: use monotonic clock Android api 28 introduces 'sem_timedwait_monotonic_np', which takes 'monotonic clock' instead of 'realtime clock', and is not affected by NTP adjustment. 'sem_timedwait_monotonic_np' should be used for timeout. Test: m Change-Id: I34e8df5af4cca13068353b44d66dcb65702c537b