private static void installCacheIfNeeded(Context context) { if (mCache == null) { synchronized (NetworkUtils.class) { if (mCache == null) { mCache = HttpCache.install(context); } } } }