Merge "[DeviceConfig] true/false should be wrapped in @code tags"

This commit is contained in:
Songchun Fan
2022-04-04 17:58:22 +00:00
committed by Gerrit Code Review

View File

@@ -829,7 +829,8 @@ public final class DeviceConfig {
* @param name The name of the property to create or update. * @param name The name of the property to create or update.
* @param value The value to store for the property. * @param value The value to store for the property.
* @param makeDefault Whether to make the new value the default one. * @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 * @hide
* @see #resetToDefaults(int, String). * @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. * @param properties the complete set of properties to set for a specific namespace.
* @throws BadConfigException if the provided properties are banned by RescueParty. * @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 * @hide
*/ */
@SystemApi @SystemApi
@@ -869,8 +870,8 @@ public final class DeviceConfig {
* *
* @param namespace The namespace containing the property to delete. * @param namespace The namespace containing the property to delete.
* @param name The name of 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. * @return {@code true} if the property was deleted or it did not exist in the first place.
* False if the storage implementation throws errors. * Return {@code false} if the storage implementation throws errors.
* @hide * @hide
*/ */
@SystemApi @SystemApi