diff options
author | Neil Fuller <nfuller@google.com> | 2020-01-07 08:29:19 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2020-01-07 08:29:19 -0800 |
commit | 1d866c0bf3644d64bf92b303649ac3cb235df95d (patch) | |
tree | c310814b6897a2c6d5897f30d86b41f575adffe1 | |
parent | 55024898c862c4b896a582d5a50297fd3176c1c2 (diff) | |
parent | 69bbb1904f025707499bf1f5c2ae226c371c2a02 (diff) | |
download | base-1d866c0bf3644d64bf92b303649ac3cb235df95d.tar.gz |
Merge "Fix annotation / debugging"
am: 69bbb1904f
Change-Id: I9da174d658ada4acf399fe9f743b012aea7ebeae
-rw-r--r-- | core/java/android/util/NtpTrustedTime.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/util/NtpTrustedTime.java b/core/java/android/util/NtpTrustedTime.java index 524078678460..ea294f010791 100644 --- a/core/java/android/util/NtpTrustedTime.java +++ b/core/java/android/util/NtpTrustedTime.java @@ -183,12 +183,11 @@ public class NtpTrustedTime implements TrustedTime { * * @throws IllegalStateException if there is no cached value */ - @UnsupportedAppUsage public TimestampedValue<Long> getCachedNtpTimeSignal() { if (!mHasCache) { throw new IllegalStateException("Missing authoritative time source"); } - if (LOGD) Log.d(TAG, "currentTimeMillis() cache hit"); + if (LOGD) Log.d(TAG, "getCachedNtpTimeSignal() cache hit"); return new TimestampedValue<>(mCachedNtpElapsedRealtime, mCachedNtpTime); } |