private void notifyWifiState(){
synchronized (mWifiMonitor) {
    Log.v(LOG_TAG,"notify wifi state changed.");
    mWifiMonitor.notify();
  }
}

private void notifyWifiState ( ) { synchronized ( mWifiMonitor ) { Log . v ( LOG_TAG , "notify wifi state changed." ) ; mWifiMonitor . notify ( ) ; } }
send a notification via the mwifimonitor when the wifi state changes .
