File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed 
src/main/java/com/google/firebase/messaging Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Unreleased  
2- 
2+ *  [ changed]  Added a NamedThreadFactory to WithinAppServiceConnection's service 
3+   connection Executor.
34
45# 24.1.1  
56*  [ changed]  Bug fix in SyncTask to always unregister the receiver on the same
Original file line number Diff line number Diff line change 2727import  androidx .annotation .Nullable ;
2828import  androidx .annotation .VisibleForTesting ;
2929import  com .google .android .gms .common .stats .ConnectionTracker ;
30+ import  com .google .android .gms .common .util .concurrent .NamedThreadFactory ;
3031import  com .google .android .gms .tasks .Task ;
3132import  com .google .android .gms .tasks .TaskCompletionSource ;
3233import  com .google .errorprone .annotations .CanIgnoreReturnValue ;
@@ -109,7 +110,9 @@ void finish() {
109110
110111  @ SuppressLint ("ThreadPoolCreation" )
111112  private  static  ScheduledThreadPoolExecutor  createScheduledThreadPoolExecutor () {
112-     ScheduledThreadPoolExecutor  threadPoolExecutor  = new  ScheduledThreadPoolExecutor (1 );
113+     ScheduledThreadPoolExecutor  threadPoolExecutor  =
114+         new  ScheduledThreadPoolExecutor (
115+             1 , new  NamedThreadFactory ("Firebase-FirebaseInstanceIdServiceConnection" ));
113116    threadPoolExecutor .setKeepAliveTime (EnhancedIntentService .MESSAGE_TIMEOUT_S  * 2 , SECONDS );
114117    threadPoolExecutor .allowCoreThreadTimeOut (true );
115118    return  threadPoolExecutor ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments