Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff1e93a3 authored by Jon Dormody's avatar Jon Dormody Committed by android-build-merger
Browse files

Merge "Docs: Added mention that the getSharedPreferences method is thread...

Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev am: fb839ce5 am: 728ca235 am: 37db2694
am: f506b49a

Change-Id: Ie4a7176be63ddcc8f1e4e9fad98ee2644f0a6758
parents d27c9dab f506b49a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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()).