File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
firebase-installations/src/main/java/com/google/firebase/installations Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ public Thread newThread(Runnable r) {
139
139
TimeUnit .SECONDS ,
140
140
new LinkedBlockingQueue <>(),
141
141
THREAD_FACTORY );
142
+ preConditionChecks ();
142
143
}
143
144
144
145
/**
@@ -216,7 +217,6 @@ String getName() {
216
217
@ NonNull
217
218
@ Override
218
219
public Task <String > getId () {
219
- preConditionChecks ();
220
220
return Tasks .forResult (doGetId ());
221
221
}
222
222
@@ -231,7 +231,6 @@ public Task<String> getId() {
231
231
@ NonNull
232
232
@ Override
233
233
public Task <InstallationTokenResult > getToken (boolean forceRefresh ) {
234
- preConditionChecks ();
235
234
Task <InstallationTokenResult > task = addGetAuthTokenListener ();
236
235
backgroundExecutor .execute (() -> doGetAuthToken (forceRefresh ));
237
236
return task ;
You can’t perform that action at this time.
0 commit comments