@@ -4573,7 +4573,7 @@ public Intent setAction(String action) {
45734573 * <p><em>Note: scheme matching in the Android framework is
45744574 * case-sensitive, unlike the formal RFC. As a result,
45754575 * you should always write your Uri with a lower case scheme,
4576- * or use {@link Uri#normalize } or
4576+ * or use {@link Uri#normalizeScheme } or
45774577 * {@link #setDataAndNormalize}
45784578 * to ensure that the scheme is converted to lower case.</em>
45794579 *
@@ -4599,7 +4599,7 @@ public Intent setData(Uri data) {
45994599 * previously set (for example, by {@link #setType}).
46004600 *
46014601 * <p>The data Uri is normalized using
4602- * {@link android.net.Uri#normalize } before it is set,
4602+ * {@link android.net.Uri#normalizeScheme } before it is set,
46034603 * so really this is just a convenience method for
46044604 * <pre>
46054605 * setData(data.normalize())
@@ -4612,10 +4612,10 @@ public Intent setData(Uri data) {
46124612 *
46134613 * @see #getData
46144614 * @see #setType
4615- * @see android.net.Uri#normalize
4615+ * @see android.net.Uri#normalizeScheme
46164616 */
46174617 public Intent setDataAndNormalize (Uri data ) {
4618- return setData (data .normalize ());
4618+ return setData (data .normalizeScheme ());
46194619 }
46204620
46214621 /**
@@ -4687,7 +4687,7 @@ public Intent setTypeAndNormalize(String type) {
46874687 * <p><em>Note: MIME type and Uri scheme matching in the
46884688 * Android framework is case-sensitive, unlike the formal RFC definitions.
46894689 * As a result, you should always write these elements with lower case letters,
4690- * or use {@link #normalizeMimeType} or {@link android.net.Uri#normalize } or
4690+ * or use {@link #normalizeMimeType} or {@link android.net.Uri#normalizeScheme } or
46914691 * {@link #setDataAndTypeAndNormalize}
46924692 * to ensure that they are converted to lower case.</em>
46934693 *
@@ -4700,7 +4700,7 @@ public Intent setTypeAndNormalize(String type) {
47004700 * @see #setType
47014701 * @see #setData
47024702 * @see #normalizeMimeType
4703- * @see android.net.Uri#normalize
4703+ * @see android.net.Uri#normalizeScheme
47044704 * @see #setDataAndTypeAndNormalize
47054705 */
47064706 public Intent setDataAndType (Uri data , String type ) {
@@ -4716,7 +4716,7 @@ public Intent setDataAndType(Uri data, String type) {
47164716 * data with your own type given here.
47174717 *
47184718 * <p>The data Uri and the MIME type are normalize using
4719- * {@link android.net.Uri#normalize } and {@link #normalizeMimeType}
4719+ * {@link android.net.Uri#normalizeScheme } and {@link #normalizeMimeType}
47204720 * before they are set, so really this is just a convenience method for
47214721 * <pre>
47224722 * setDataAndType(data.normalize(), Intent.normalizeMimeType(type))
@@ -4732,10 +4732,10 @@ public Intent setDataAndType(Uri data, String type) {
47324732 * @see #setData
47334733 * @see #setDataAndType
47344734 * @see #normalizeMimeType
4735- * @see android.net.Uri#normalize
4735+ * @see android.net.Uri#normalizeScheme
47364736 */
47374737 public Intent setDataAndTypeAndNormalize (Uri data , String type ) {
4738- return setDataAndType (data .normalize (), normalizeMimeType (type ));
4738+ return setDataAndType (data .normalizeScheme (), normalizeMimeType (type ));
47394739 }
47404740
47414741 /**
0 commit comments