SharedPreferencesManager#readStringSet() returns an unmodifiable Set.
Modifying the set returned by SharedPreferences#getStringSet() is forbidden by the API, but nothing stops the developer from doing so. It can cause consistency issues resulting in loss of data. Change-Id: I84907d4c4475d2a97974a6b57e16c50a411d915c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2039811 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Reviewed-by:
Natalie Chouinard <chouinard@chromium.org> Cr-Commit-Position: refs/heads/master@{#738677}
Showing
Please register or sign in to comment