public void Shutdown() { if (Build.VERSION.SdkInt >= BuildVersionCodes.IceCreamSandwich && m_Cache != null) { ResponseCacheIcs.Close(m_Cache); } }
private void InstallCacheIfNeeded(Context context) { if (m_Cache == null) { try { lock (s_Lock) { if (m_Cache == null) { m_Cache = ResponseCacheIcs.Install(context); } } } catch (IOException) { // Ignored } } }