Merge "fixed handling of data URI schemes in Intent.toUri"

am: c3d3cf5666

Change-Id: Id4b8ef16f7a428e6c3d8b382387cf575d05926ad
This commit is contained in:
Christopher Schuster
2017-09-22 15:02:03 +00:00
committed by android-build-merger

View File

@@ -9347,7 +9347,7 @@ public class Intent implements Parcelable, Cloneable {
for (int i=0; i<N; i++) {
char c = data.charAt(i);
if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')
|| c == '.' || c == '-') {
|| (c >= '0' && c <= '9') || c == '.' || c == '-' || c == '+') {
continue;
}
if (c == ':' && i > 0) {