B2G/gecko/toolkit/mozapps/update/nsUpdateService.js
/**
   * Called from the network:offline-status-changed observer.
   */
Called from the network:offline-status-changed observer.
Called from the network : offline - status - changed observer .
function AUS__offlineStatusChanged(status) {
    if (status !== "online") {
      return;
    }
    Services.obs.removeObserver(this, "network:offline-status-changed");
    this._registeredOnlineObserver = false;
    LOG("UpdateService:_offlineStatusChanged - network is online, forcing " +
        "another background check");
    this._attemptResume();
  }
function AUS__offlineStatusChanged ( status ) { if ( status !== "online" ) { return ; } Services . obs . removeObserver ( this , "network:offline-status-changed" ) ; this . _registeredOnlineObserver = false ; LOG ( "UpdateService:_offlineStatusChanged - network is online, forcing " + "another background check" ) ; this . _attemptResume ( ) ; }
Called from the network:offline-status-changed observer.
Called from the network : offline - status - changed observer .
// the background checker is contained in notify