File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
firebase-common/src/main/java/com/google/firebase/heartbeatinfo Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2727import com .google .firebase .annotations .concurrent .Background ;
2828import com .google .firebase .components .Component ;
2929import com .google .firebase .components .Dependency ;
30+ import com .google .firebase .components .Lazy ;
3031import com .google .firebase .components .Qualified ;
3132import com .google .firebase .inject .Provider ;
3233import com .google .firebase .platforminfo .UserAgentPublisher ;
@@ -117,7 +118,7 @@ private DefaultHeartBeatController(
117118 Provider <UserAgentPublisher > userAgentProvider ,
118119 Executor backgroundExecutor ) {
119120 this (
120- ( ) -> new HeartBeatInfoStorage (context , persistenceKey ),
121+ new Lazy <>(( ) -> new HeartBeatInfoStorage (context , persistenceKey ) ),
121122 consumers ,
122123 backgroundExecutor ,
123124 userAgentProvider ,
You can’t perform that action at this time.
0 commit comments