Package 

Object SharedPreferencesFactory.Companion

    • Method Summary

      Modifier and Type Method Description
      final Boolean shouldEnableACRA(SharedPreferences prefs) Check if the application default shared preferences contains true for the key "acra.disable", do not activate ACRA.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • shouldEnableACRA

         final Boolean shouldEnableACRA(SharedPreferences prefs)

        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.

        Parameters:
        prefs - SharedPreferences to check to see whether ACRA should be disabled.