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 2929import java .util .Objects ;
3030import java .util .Set ;
3131import java .util .UUID ;
32- import java .util .concurrent .Future ;
3332
3433/** Session manager to generate sessionIDs and broadcast to the application. */
3534@ Keep // Needed because of b/117526359.
@@ -43,7 +42,6 @@ public class SessionManager {
4342 private final Set <WeakReference <SessionAwareObject >> clients = new HashSet <>();
4443
4544 private PerfSession perfSession ;
46- private Future syncInitFuture ;
4745
4846 /** Returns the singleton instance of SessionManager. */
4947 public static SessionManager getInstance () {
@@ -169,9 +167,4 @@ private void startOrStopCollectingGauges(ApplicationProcessState appState) {
169167 public void setPerfSession (PerfSession perfSession ) {
170168 this .perfSession = perfSession ;
171169 }
172-
173- @ VisibleForTesting
174- public Future getSyncInitFuture () {
175- return this .syncInitFuture ;
176- }
177170}
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ public void setApplicationContext_initializeGaugeMetadataManager()
7878 new SessionManager (mockGaugeManager , mockPerfSession , mockAppStateMonitor );
7979 testSessionManager .setApplicationContext (mockApplicationContext );
8080
81- testSessionManager .getSyncInitFuture ().get ();
8281 inOrder .verify (mockGaugeManager ).initializeGaugeMetadataManager (any ());
8382 }
8483
You can’t perform that action at this time.
0 commit comments