File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
firebase-installations/src/main/java/com/google/firebase/installations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ public Task<String> getId() {
233
233
}
234
234
235
235
Task <String > task = addGetIdListener ();
236
- backgroundExecutor .execute (() -> doRegistrationInternal (false ));
236
+ backgroundExecutor .execute (() -> doRegistrationOrRefresh (false ));
237
237
return task ;
238
238
}
239
239
@@ -250,7 +250,7 @@ public Task<String> getId() {
250
250
public Task <InstallationTokenResult > getToken (boolean forceRefresh ) {
251
251
preConditionChecks ();
252
252
Task <InstallationTokenResult > task = addGetAuthTokenListener ();
253
- backgroundExecutor .execute (() -> doRegistrationInternal (forceRefresh ));
253
+ backgroundExecutor .execute (() -> doRegistrationOrRefresh (forceRefresh ));
254
254
return task ;
255
255
}
256
256
@@ -329,7 +329,7 @@ private synchronized String getCacheFid() {
329
329
* @param forceRefresh true if this is for a getAuthToken call and if the caller wants to fetch a
330
330
* new auth token from the server even if an unexpired auth token exists on the client.
331
331
*/
332
- private final void doRegistrationInternal (boolean forceRefresh ) {
332
+ private final void doRegistrationOrRefresh (boolean forceRefresh ) {
333
333
334
334
PersistedInstallationEntry prefs = getPrefsWithGeneratedIdMultiProcessSafe ();
335
335
You can’t perform that action at this time.
0 commit comments