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

Commit 39d6ba88 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix annotation / debugging" am: 69bbb190 am: 1d866c0b

Change-Id: I01e7c1b39e2c1df26f9b64c441136ccfbedcc77f
parents 4de1014d 1d866c0b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);
    }