<BUG>if (BuildConfig.DEBUG) {Log.d(HotMobiLogger.LOGTAG, "getting cached location");}</BUG><CONTEXT>}public static LatLng getCachedLatLng(@NonNull final Context context) {final Context appContext = context.getApplicationContext();final SharedPreferences prefs = DependencyHolder.Companion.get(context).getPreferences();if (!prefs.getBoolean(KEY_USAGE_STATISTICS, false)) return null;<extra_id_0>final Location location = Utils.getCachedLocation(appContext);</CONTEXT>
DebugLog.d(HotMobiLogger.LOGTAG, "getting cached location", null);