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

Commit 72aa1314 authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

docs: Clarify class definition of Settings.Secure

Explain that all apps can read the Settings.Secure database, but only
system apps can write to this database

Test: make ds-docs -j32

Bug: 124360993
Change-Id: I79fadfe02dfedf403b2da0243f4f209431c9aa0a
parent 082d0c47
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5200,8 +5200,9 @@ public final class Settings {
    /**
     * Secure system settings, containing system preferences that applications
     * can read but are not allowed to write.  These are for preferences that
     * the user must explicitly modify through the system UI or specialized
     * APIs for those values, not modified directly by applications.
     * the user must explicitly modify through the UI of a system app. Normal
     * applications cannot modify the secure settings database, either directly
     * or by calling the "put" methods that this class contains.
     */
    public static final class Secure extends NameValueTable {
        // NOTE: If you add new settings here, be sure to add them to