summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/util/NtpTrustedTime.java3
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);
}