Merge "[DeviceConfig] true/false should be wrapped in @code tags" am: d47a35e3a7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2053134 Change-Id: I4449d905ed20e10e65b93e5d82f7cefb8f7b2b15 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -836,7 +836,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).
|
||||||
*/
|
*/
|
||||||
@@ -860,7 +861,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
|
||||||
@@ -876,8 +877,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
|
||||||
|
|||||||
Reference in New Issue
Block a user