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

Commit 318f3edc authored by Allen Su's avatar Allen Su Committed by Android (Google) Code Review
Browse files

Merge "Update system grammatical gender API docs" into main

parents 0359ec8f 4dea11ca
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class GrammaticalInflectionManager {
     * Sets the current grammatical gender for all privileged applications. The value will be
     * stored in an encrypted file at {@link android.os.Environment#getDataSystemCeDirectory(int)}
     *
     * @param grammaticalGender the terms of address the user preferred in system.
     * @param grammaticalGender the grammatical gender set by the user for the system.
     *
     * @see Configuration#getGrammaticalGender
     * @hide
@@ -123,12 +123,12 @@ public class GrammaticalInflectionManager {
    }

    /**
     * Get the current grammatical gender of privileged application from the encrypted file.
     * Allows privileged preloaded applications to get the system grammatical gender when set.
     *
     * @return the value of system grammatical gender only if the calling app has the permission,
     * otherwise throwing an exception.
     * @return The value of system grammatical gender only if the calling app has the
     * permission, otherwise throwing an exception.
     *
     * @throws SecurityException if the caller does not have the required permission.
     * @throws SecurityException If the caller does not have the required permission.
     *
     * @see Configuration#getGrammaticalGender
     */