As per its docs<http://developer.android.com/reference/android/content/SharedPreferences.html#getAll%28%29>:
Note that you must not modify the collection returned by this method, or > alter any of its contents. The consistency of your stored data is not > guaranteed if you do. > Is there a reason it does not return an unmodifiable map ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.