Loading core/java/android/content/Context.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -754,6 +754,8 @@ public abstract class Context { * to any callers for the same name, meaning they will see each other's * to any callers for the same name, meaning they will see each other's * edits as soon as they are made. * edits as soon as they are made. * * * This method is thead-safe. * * @param name Desired preferences file. If a preferences file by this name * @param name Desired preferences file. If a preferences file by this name * does not exist, it will be created when you retrieve an * does not exist, it will be created when you retrieve an * editor (SharedPreferences.edit()) and then commit changes (Editor.commit()). * editor (SharedPreferences.edit()) and then commit changes (Editor.commit()). Loading Loading
core/java/android/content/Context.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -754,6 +754,8 @@ public abstract class Context { * to any callers for the same name, meaning they will see each other's * to any callers for the same name, meaning they will see each other's * edits as soon as they are made. * edits as soon as they are made. * * * This method is thead-safe. * * @param name Desired preferences file. If a preferences file by this name * @param name Desired preferences file. If a preferences file by this name * does not exist, it will be created when you retrieve an * does not exist, it will be created when you retrieve an * editor (SharedPreferences.edit()) and then commit changes (Editor.commit()). * editor (SharedPreferences.edit()) and then commit changes (Editor.commit()). Loading