Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev am: fb839ce59a am: 728ca235b5
am: 37db2694eb
Change-Id: I98151cf907cd2f635c8f4a0e128ff697024b3a54
This commit is contained in:
@@ -754,6 +754,8 @@ public abstract class Context {
|
||||
* to any callers for the same name, meaning they will see each other's
|
||||
* edits as soon as they are made.
|
||||
*
|
||||
* This method is thead-safe.
|
||||
*
|
||||
* @param name Desired preferences file. If a preferences file by this name
|
||||
* does not exist, it will be created when you retrieve an
|
||||
* editor (SharedPreferences.edit()) and then commit changes (Editor.commit()).
|
||||
|
||||
Reference in New Issue
Block a user