DO NOT MERGE Fix NDEF testcase.
Only the scheme is normalized, not the remainder of the Uri.
Bug: 6293009
Change-Id: I65accff72fa4c19ccad31d6bb5c2501c655a152b
diff --git a/tests/tests/ndef/src/android/ndef/cts/NdefTest.java b/tests/tests/ndef/src/android/ndef/cts/NdefTest.java
index c17ff1c..47bdfa2 100644
--- a/tests/tests/ndef/src/android/ndef/cts/NdefTest.java
+++ b/tests/tests/ndef/src/android/ndef/cts/NdefTest.java
@@ -508,7 +508,7 @@
NdefRecord.createExternal("com.foo.bar", "type", null).toUri());
// check normalization
assertEquals(Uri.parse("http://www.android.com"),
- new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, "HTTP://WWW.ANDROID.COM".getBytes(),
+ new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, "HTTP://www.android.com".getBytes(),
null, null).toUri());
// not uri's
@@ -546,4 +546,4 @@
}
return s.toString();
}
-}
\ No newline at end of file
+}