Files
Amber/app/src/main/java/com
Claude 9b65375138 Convert legacy Long timing overloads to Duration, silence flavor warnings
Replace every Long-millisecond call to delay/withTimeoutOrNull/debounce
with the kotlin.time.Duration overloads, converting the related
constants (EOSE/backup/check timeouts, clipboard clear delay) and the
retryWithBackoff/reconnect backoff state to Duration as well.

Also suppress the three deliberate cross-flavor compiler warnings in
TrustScoreService, WebDavService and ZapstoreUpdater: the offline
flavor compiles against OkHttp 4 where response.body is nullable, so
the safe call/elvis is required there and only redundant in the free
flavor.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ho6LW6eEBkVnnpFvr5tvpi
2026-07-08 21:05:34 +00:00
..