From 492e6558d18891f9087104b01048a12c0e50cd5e Mon Sep 17 00:00:00 2001 From: Winson Date: Wed, 17 Mar 2021 14:25:21 -0700 Subject: [PATCH] Correct getDomainVerificationUserState docs Clarifies that it's the Context's user being queried and updates for the selection -> state rename. Bug: 182345452 Test: none, docs change Change-Id: Iaefc82b5e1c25292db1f694bf4f05d9f82b81958 --- .../content/pm/verify/domain/DomainVerificationManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/content/pm/verify/domain/DomainVerificationManager.java b/core/java/android/content/pm/verify/domain/DomainVerificationManager.java index 55e19f2727bfc..d187f60ecd44b 100644 --- a/core/java/android/content/pm/verify/domain/DomainVerificationManager.java +++ b/core/java/android/content/pm/verify/domain/DomainVerificationManager.java @@ -341,11 +341,11 @@ public final class DomainVerificationManager { } /** - * Retrieve the user selection data for the given {@param packageName} and the current user. + * Retrieve the user state for the given package and the {@link Context}'s user. * * @param packageName The app to query state for. - * @return the user selection verification data for the given package for the current user, or - * null if the package does not declare any HTTP/HTTPS domains. + * @return The user selection verification data for the given package for the user, or null if + * the package does not declare any HTTP/HTTPS domains. */ @Nullable public DomainVerificationUserState getDomainVerificationUserState(