Code example for WifiManager.WifiLock

Methods: isHeld, release

0
			LOG.d("Wifi LOCK"); 
		} 
	} 
 
	public void release() { 
		if (wifiLock.isHeld()) {
			wifiLock.release();
			LOG.d("Wifi RELEASE"); 
		} 
	} 
 
	public WifiManager getWifiManager() {
		return wifiManager;
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE