summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/provider/DeviceConfig.java14
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
*/