@VisibleForTesting static boolean isPrecachingEnabled(Context context){
  SharedPreferences prefs=PreferenceManager.getDefaultSharedPreferences(context);
  return prefs.getBoolean(PREF_IS_PRECACHING_ENABLED,false);
}

@ VisibleForTesting static boolean isPrecachingEnabled ( Context context ) { SharedPreferences prefs = PreferenceManager . getDefaultSharedPreferences ( context ) ; return prefs . getBoolean ( PREF_IS_PRECACHING_ENABLED , false ) ; }
returns true if precaching is able to run . set by precachelauncher # updateprecachingenabled .
