diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2020-09-11 14:17:03 -0600 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2020-09-14 09:59:01 -0600 |
| commit | 705f6bec2d4506936c7fe0d114e377b74d0bfd70 (patch) | |
| tree | a47af99c923f177ee7916cb7e9522eaadac51ff0 /core/java/android/content/ContentCaptureOptions.java | |
| parent | 70b20ee0b885e250adba8cfea36fa06e6d8b073b (diff) | |
Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: I53003332717baf57dc088b2f6b969cdb1863f65e
Diffstat (limited to 'core/java/android/content/ContentCaptureOptions.java')
| -rw-r--r-- | core/java/android/content/ContentCaptureOptions.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/ContentCaptureOptions.java b/core/java/android/content/ContentCaptureOptions.java index cb2142c356b2..ef49e029db13 100644 --- a/core/java/android/content/ContentCaptureOptions.java +++ b/core/java/android/content/ContentCaptureOptions.java @@ -69,7 +69,7 @@ public final class ContentCaptureOptions implements Parcelable { public final int logHistorySize; /** - * List of activities explicitly whitelisted for content capture (or {@code null} if whitelisted + * List of activities explicitly allowlisted for content capture (or {@code null} if allowlisted * for all acitivites in the package). */ @Nullable @@ -147,7 +147,7 @@ public final class ContentCaptureOptions implements Parcelable { /** @hide */ @VisibleForTesting public boolean isWhitelisted(@NonNull Context context) { - if (whitelistedComponents == null) return true; // whole package is whitelisted + if (whitelistedComponents == null) return true; // whole package is allowlisted final ContentCaptureClient client = context.getContentCaptureClient(); if (client == null) { // Shouldn't happen, but it doesn't hurt to check... |
