From 149e506efc437cfad1053b270b610cfec126ecfc Mon Sep 17 00:00:00 2001 From: Tobias Thierer Date: Tue, 11 Sep 2018 10:35:11 +0100 Subject: [PATCH] Fix typo in android.net.Uri documentation. This typo has been present since before the "auto import" of cupcake sources in 2009. Bug: 114704047 Test: Treehugger Test: Checked through source inspection that this really returns the encoded form: its implementation is ssp.getEncoded(), whose implementation in turn is: return hasEncoded ? encoded : (encoded = encode(decoded)); Change-Id: I0e4fed702e6b3012429778ccbd18a495a5d69e9f --- core/java/android/net/Uri.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/net/Uri.java b/core/java/android/net/Uri.java index 9bcc6001615fe..40465ceafcb80 100644 --- a/core/java/android/net/Uri.java +++ b/core/java/android/net/Uri.java @@ -197,7 +197,7 @@ public abstract class Uri implements Parcelable, Comparable { * *

Example: "//www.google.com/search?q=android" * - * @return the decoded scheme-specific-part + * @return the encoded scheme-specific-part */ public abstract String getEncodedSchemeSpecificPart();