-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeException: Cannot find preference screen within search result #1781
Comments
I've traced the bug down to the library @jamorham Do you know who modified the original library? |
I've found Adapted for using in PreferenceActivity Context but this commit introduces some other changes and it will not introduce |
This is easy to resolve see: 87ac6fc |
Opened another pull request with more fixes. Is there a way to screen for this issue automatically, either by linting the xml or writing unit tests? |
#2114 (comment)
To my knowledge anything of the type Preference, or its subclasses will need the |
I try to keep the developer related discussions separated from the user-relevant discussions to not "pollute" the issues. But this issue is more like a dev issue. Hence, I'm fine with it.
The docs do not state that the Android Developers > Docs > Reference states: "This class contains a key that will be used as the key into the SharedPreferences. It is up to the subclass to decide how to store the value." We have to verify if the addition of the missing |
…_exceptions Further fixes for #1781 (preference search exceptions)
Searching the settings for "back-fill" and clicking on the top-most hit "Back-fill data Tap to send historical data to Nightscout" (if English is the UI language) results in a
java.lang.RuntimeException: Cannot find preference screen within search result
.The log shows:
Any version of xDrip is affected.
The text was updated successfully, but these errors were encountered: