summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2022-04-01 16:29:43 -0700
committer Songchun Fan <schfan@google.com> 2022-04-01 23:31:49 +0000
commite133340a03de3628a95e1a905061026a99a9778b (patch)
tree00b41e4ee9504a67dce9c59e1859b807da85b30d
parentebcfe1c6e04e02cc4e27be020268b392c502777f (diff)
[DeviceConfig] true/false should be wrapped in @code tags
BUG: 227781337 Test: n/a Change-Id: I89a6f148e975a69c4632e8ced1676f4b1a8d0f0b
-rw-r--r--core/java/android/provider/DeviceConfig.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/java/android/provider/DeviceConfig.java b/core/java/android/provider/DeviceConfig.java
index 1777f56691a7..4c1cc97e2ae6 100644
--- a/core/java/android/provider/DeviceConfig.java
+++ b/core/java/android/provider/DeviceConfig.java
@@ -829,7 +829,8 @@ public final class DeviceConfig {
* @param name The name of the property to create or update.
* @param value The value to store for the property.
* @param makeDefault Whether to make the new value the default one.
- * @return True if the value was set, false if the storage implementation throws errors.
+ * @return {@code true} if the value was set, {@code false} if the storage implementation throws
+ * errors.
* @hide
* @see #resetToDefaults(int, String).
*/
@@ -853,7 +854,7 @@ public final class DeviceConfig {
*
* @param properties the complete set of properties to set for a specific namespace.
* @throws BadConfigException if the provided properties are banned by RescueParty.
- * @return True if the values were set, false otherwise.
+ * @return {@code true} if the values were set, {@code false} otherwise.
* @hide
*/
@SystemApi
@@ -869,8 +870,8 @@ public final class DeviceConfig {
*
* @param namespace The namespace containing the property to delete.
* @param name The name of the property to delete.
- * @return True if the property was deleted or it did not exist in the first place.
- * False if the storage implementation throws errors.
+ * @return {@code true} if the property was deleted or it did not exist in the first place.
+ * Return {@code false} if the storage implementation throws errors.
* @hide
*/
@SystemApi