[connectivity] rename createWithLocationInfoSanitizedIfNecessaryWhenParceled

It's already redacting more sensitive information other than just
location info.

This is a follow up CL for https://googleplex-android-review.git.corp.google.com/c/platform/packages/modules/Connectivity/+/34224156/comment/98b93666_a824d7bc/

Bug: 374037595
Flag: EXEMPT PURE_REFACTOR
Change-Id: I6524c4f9ee9b5273e4ab421f54ae3115dea2cc8a
This commit is contained in:
Kangping Dong 2025-06-27 12:28:25 +08:00
commit 6fd0624452

View file

@ -3566,7 +3566,7 @@ public final class NetworkCapabilities implements Parcelable {
* mainline version but deployed to older platforms which don't have those two
* NetworkSpecifier methods.
* <p>
* See {@link #createWithLocationInfoSanitizedIfNecessaryWhenParceled} and {@link
* See {@link #createWithSensitiveInfoSanitizedIfNecessaryWhenParceled} and {@link
* #ensureSufficientPermissionsForRequest} for how this method should be used.
*/
@Nullable