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

Commit fc5389ab authored by Matt Pape's avatar Matt Pape
Browse files

Add defaultValue to javadocs for typed getters.

Bug: 126415338
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: I1ac08f02c2553df635c3395b1df26e2e95b57201
parent c7181066
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -416,6 +416,8 @@ public final class DeviceConfig {
     *
     * @param namespace    The namespace containing the property to look up.
     * @param name         The name of the property to look up.
     * @param defaultValue The value to return if the property does not exist or has no non-null
     *                     value.
     * @return the corresponding value, or defaultValue if none exists.
     * @hide
     */
@@ -432,6 +434,8 @@ public final class DeviceConfig {
     *
     * @param namespace The namespace containing the property to look up.
     * @param name      The name of the property to look up.
     * @param defaultValue The value to return if the property does not exist or has no non-null
     *                     value.
     * @return the corresponding value, or defaultValue if none exists.
     * @hide
     */
@@ -448,6 +452,8 @@ public final class DeviceConfig {
     *
     * @param namespace The namespace containing the property to look up.
     * @param name      The name of the property to look up.
     * @param defaultValue The value to return if the property does not exist, has no non-null
     *                     value, or fails to parse into an int.
     * @return the corresponding value, or defaultValue if either none exists or it does not parse.
     * @hide
     */
@@ -468,6 +474,8 @@ public final class DeviceConfig {
     *
     * @param namespace The namespace containing the property to look up.
     * @param name      The name of the property to look up.
     * @param defaultValue The value to return if the property does not exist, has no non-null
     *                     value, or fails to parse into a long.
     * @return the corresponding value, or defaultValue if either none exists or it does not parse.
     * @hide
     */
@@ -488,6 +496,8 @@ public final class DeviceConfig {
     *
     * @param namespace The namespace containing the property to look up.
     * @param name      The name of the property to look up.
     * @param defaultValue The value to return if the property does not exist, has no non-null
     *                     value, or fails to parse into a float.
     * @return the corresponding value, or defaultValue if either none exists or it does not parse.
     * @hide
     */