Crash at ChromePreferenceKeyChecker #28831
Labels
crash
OS/Android
Fixes related to Android browser functionality
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass - Android ARM
QA/Yes
release-notes/include
Milestone
There is a crash report on GP that indicates ChromePreferenceKeyChecker.
Never happens on Stable and Beta builds.
Upstream's
SharedPreferencesManager
simplifies work withSharedPreferences
, but also usesChromePreferenceKeyChecker
to allow work with only registered prefs.Brave's code already has the places where this check is disabled with
SharedPreferencesManager.getInstance().disableKeyCheckerForTesting();
:There is at least one other place I saw where check happens without disabling, the one from the above. I also could see it once.
The solution is to disable the check at the
SharedPreferencesManager
orChromePreferenceKeyChecker
class, at one place.The text was updated successfully, but these errors were encountered: