diff options
author | 2024-02-08 18:17:03 +0000 | |
---|---|---|
committer | 2024-02-08 21:44:47 +0000 | |
commit | 2ef4cf8fdef3f26ac42d949229b3e66119eb0142 (patch) | |
tree | 80ea38f50f85148d32ab1a74091acd12e4de7a80 /framework-s/java | |
parent | fcba235c4c03c0bf0b58e8b1661be45eec7d57ca (diff) |
Add API flag checks in test
ag/25918135 missed keeping some tests under the API check.
Also, correcting some documentation and using the codename until the
release when the correct sdk version would be available.
Bug: 286539356
Test: manual
Test: atest ParserConfigValidTest
Change-Id: I8a9175131eb364b9eee7947ca8be65882ad57db6
Diffstat (limited to 'framework-s/java')
-rw-r--r-- | framework-s/java/android/safetycenter/config/SafetySource.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/framework-s/java/android/safetycenter/config/SafetySource.java b/framework-s/java/android/safetycenter/config/SafetySource.java index 5502ca950..ff0c66e24 100644 --- a/framework-s/java/android/safetycenter/config/SafetySource.java +++ b/framework-s/java/android/safetycenter/config/SafetySource.java @@ -808,18 +808,18 @@ public final class SafetySource implements Parcelable { } /** - * Sets the resource id of the title for work of this safety source. + * Sets the resource id of the title for private profile of this safety source. * * <p>The id must refer to a string resource that is either accessible from any resource * context or that is accessible from the same resource context that was used to load the * Safety Center configuration. The id defaults to {@link Resources#ID_NULL} when a title - * for work is not provided. + * for private profile is not provided. * - * <p>The title for work is required if the profile property of the source is set to {@link - * SafetySource#PROFILE_ALL} and either the source is of type static or the source is a - * source of type dynamic that is not hidden and that does not provide search terms. The - * title for work is prohibited for sources of type issue-only and if the profile property - * of the source is not set to {@link SafetySource#PROFILE_ALL}. + * <p>The title for private profile is required if the profile property of the source is set + * to {@link SafetySource#PROFILE_ALL} and either the source is of type static or the source + * is a source of type dynamic that is not hidden and that does not provide search terms. + * The title for private profile is prohibited for sources of type issue-only and if the + * profile property of the source is not set to {@link SafetySource#PROFILE_ALL}. */ @FlaggedApi(Flags.FLAG_PRIVATE_PROFILE_TITLE_API) @RequiresApi(VANILLA_ICE_CREAM) |