Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. if(!isConnected) {
  2.   queueManager.stopQueue();
  3. } else {
  4.    // - Resume the queue if the connectivity is up again
  5.    queueManager.resumeQueue();
  6. }
  7.  
  8. if (!getConnectionTypeAsString().equals(previousConnectionType)) {
  9.   log.w(LOGTAG, "L09E004", "Connectivity change: " + getConnectionTypeAsString());
  10. }
  11.  
  12. previousConnectionType = getConnectionTypeAsString();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement