-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
clearing String value with null doesn't make contains() return false #56
Comments
Does this happen between processes or within a single process? |
Thanks for your response. Although I use Harmony in a multi-process environment, this occurs within a single process.
|
Ah, it's the encryption library. I will take a look at this issue. Thank you for this bug report! |
What's interesting here is that Androidx |
It looks like |
@sameerjj I have pushed an update to fix this issue. Please update to v1.2.6 for the fix. |
putting null String in preferences and then checking contains(), contains() will always return true.
it seems that Harmony uses some
NULL_VALUE
parameter to null key-values which leads to this behaviour which is inconsistent with the default SharedPreferences implementationThe text was updated successfully, but these errors were encountered: