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

Commit cb8823d9 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Change-Id: I81c9b247f854d8b5d75fdd232f46979a9f5ed9d3
parents f1e1625f 39d6ba88
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);
    }