Esempio n. 1
0
 void performNetworkStateChange(NetworkInfo info) {
   if (service instanceof PicassoExecutorService) {
     ((PicassoExecutorService) service).adjustThreadCount(info);
   }
   // Intentionally check only if isConnected() here before we flush out failed actions.
   if (info != null && info.isConnected()) {
     flushFailedActions();
   }
 }