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

Commit 1bca5db0 authored by Jonathan Dormody's avatar Jonathan Dormody
Browse files

Docs: Added mention that the getSharedPreferences method is thread

safe.

Test: make ds-docs

Bug: 5370116
Change-Id: I5aa851db5e1dbcb3563f1ce15f96cc10c80e90ba
parent 44cd5b97
Loading
Loading
Loading
Loading
+2 −0
Original line number 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
     * 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()).