From e133340a03de3628a95e1a905061026a99a9778b Mon Sep 17 00:00:00 2001 From: Songchun Fan Date: Fri, 1 Apr 2022 16:29:43 -0700 Subject: [PATCH] [DeviceConfig] true/false should be wrapped in @code tags BUG: 227781337 Test: n/a Change-Id: I89a6f148e975a69c4632e8ced1676f4b1a8d0f0b --- core/java/android/provider/DeviceConfig.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/java/android/provider/DeviceConfig.java b/core/java/android/provider/DeviceConfig.java index 1777f56691a70..4c1cc97e2ae61 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