diff options
| author | 2019-02-28 11:05:03 -0800 | |
|---|---|---|
| committer | 2019-02-28 11:05:03 -0800 | |
| commit | fc5389abd5e92184fec047872e126096e15b8049 (patch) | |
| tree | 3b67eacba82a3f7638efdeb38ac02ee897733ec6 | |
| parent | c7181066e6a1a52d4f18b00f26c05b3581357b5b (diff) | |
Add defaultValue to javadocs for typed getters.
Bug: 126415338
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: I1ac08f02c2553df635c3395b1df26e2e95b57201
| -rw-r--r-- | core/java/android/provider/DeviceConfig.java | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/java/android/provider/DeviceConfig.java b/core/java/android/provider/DeviceConfig.java index a57d292e7357..b31d1fb1dc6e 100644 --- a/core/java/android/provider/DeviceConfig.java +++ b/core/java/android/provider/DeviceConfig.java @@ -414,8 +414,10 @@ public final class DeviceConfig { /** * Look up the String value of a property for a particular namespace. * - * @param namespace The namespace containing the property to look up. - * @param name The name of the property to look up. + * @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 */ |