File tree 2 files changed +2
-2
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ void handleWatchStreamFailure(Status status) {
115
115
// To get to OnlineState.ONLINE, updateState() must have been called which would have reset
116
116
// our heuristics.
117
117
hardAssert (this .watchStreamFailures == 0 , "watchStreamFailures must be 0" );
118
- hardAssert (this .connectivityAttemptTimer == null , "setConnectivityAttemptTimer must be null" );
118
+ hardAssert (this .connectivityAttemptTimer == null , "connectivityAttemptTimer must be null" );
119
119
} else {
120
120
watchStreamFailures ++;
121
121
if (watchStreamFailures >= MAX_WATCH_STREAM_FAILURES ) {
@@ -151,7 +151,6 @@ void updateState(OnlineState newState) {
151
151
}
152
152
153
153
private void setAndBroadcastState (OnlineState newState ) {
154
- Logger .debug ("OST" , "BCHEN: state set to " + newState );
155
154
if (newState != state ) {
156
155
state = newState ;
157
156
onlineStateCallback .handleOnlineStateChange (newState );
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ public void backoffAndRun(Runnable task) {
131
131
132
132
// Guard against the backoff delay already being past.
133
133
long remainingDelayMs = Math .max (0 , desiredDelayWithJitterMs - delaySoFarMs );
134
+
134
135
if (currentBaseMs > 0 ) {
135
136
Logger .debug (
136
137
getClass ().getSimpleName (),
You can’t perform that action at this time.
0 commit comments