src/main/java/org/acra/ACRA.java
/**
     * Check if the application default shared preferences contains true for the
     * key "acra.disable", do not activate ACRA. Also checks the alternative
     * opposite setting "acra.enable" if "acra.disable" is not found.
     * 
     * @param prefs
     *            SharedPreferences to check to see whether ACRA should be
     *            disabled.
     * @return true if prefs indicate that ACRA should be disabled.
     */
Check if the application default shared preferences contains true for the
key "acra.disable", do not activate ACRA. Also checks the alternative
opposite setting "acra.enable" if "acra.disable" is not found.

@param prefs
SharedPreferences to check to see whether ACRA should be
disabled.
@return true if prefs indicate that ACRA should be disabled.
Check if the application default shared preferences contains true for the key " acra . disable " do not activate ACRA . Also checks the alternative opposite setting " acra . enable " if " acra . disable " is not found . @param prefs SharedPreferences to check to see whether ACRA should be disabled . @return true if prefs indicate that ACRA should be disabled .
private static boolean shouldDisableACRA(SharedPreferences prefs) {
        boolean disableAcra = false;
        try {
            final boolean enableAcra = prefs.getBoolean(PREF_ENABLE_ACRA, true);
            disableAcra = prefs.getBoolean(PREF_DISABLE_ACRA, !enableAcra);
        } catch (Exception e) {
        }
        return disableAcra;
    }
private static boolean shouldDisableACRA ( SharedPreferences prefs ) { boolean disableAcra = false ; try { final boolean enableAcra = prefs . getBoolean ( PREF_ENABLE_ACRA , true ) ; disableAcra = prefs . getBoolean ( PREF_DISABLE_ACRA , ! enableAcra ) ; } catch ( Exception e ) { } return disableAcra ; }
Check if the application default shared preferences contains true for the
 key "acra.disable", do not activate ACRA.
Check if the application default shared preferences contains true for the key " acra . disable " do not activate ACRA .
// In case of a ClassCastException
