-
public class SharedPreferencesFactory.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static SharedPreferencesFactory.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final BooleanshouldEnableACRA(SharedPreferences prefs)Check if the application default shared preferences contains true for the key "acra.disable", do not activate ACRA. -
-
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.
-
-
-
-