File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
main/java/com/google/firebase/perf/session
test/java/com/google/firebase/perf/session Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 29
29
import java .util .Objects ;
30
30
import java .util .Set ;
31
31
import java .util .UUID ;
32
- import java .util .concurrent .Future ;
33
32
34
33
/** Session manager to generate sessionIDs and broadcast to the application. */
35
34
@ Keep // Needed because of b/117526359.
@@ -43,7 +42,6 @@ public class SessionManager {
43
42
private final Set <WeakReference <SessionAwareObject >> clients = new HashSet <>();
44
43
45
44
private PerfSession perfSession ;
46
- private Future syncInitFuture ;
47
45
48
46
/** Returns the singleton instance of SessionManager. */
49
47
public static SessionManager getInstance () {
@@ -169,9 +167,4 @@ private void startOrStopCollectingGauges(ApplicationProcessState appState) {
169
167
public void setPerfSession (PerfSession perfSession ) {
170
168
this .perfSession = perfSession ;
171
169
}
172
-
173
- @ VisibleForTesting
174
- public Future getSyncInitFuture () {
175
- return this .syncInitFuture ;
176
- }
177
170
}
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ public void setApplicationContext_initializeGaugeMetadataManager()
78
78
new SessionManager (mockGaugeManager , mockPerfSession , mockAppStateMonitor );
79
79
testSessionManager .setApplicationContext (mockApplicationContext );
80
80
81
- testSessionManager .getSyncInitFuture ().get ();
82
81
inOrder .verify (mockGaugeManager ).initializeGaugeMetadataManager (any ());
83
82
}
84
83
You can’t perform that action at this time.
0 commit comments