Merge "fixed handling of data URI schemes in Intent.toUri"
am: c3d3cf5666
Change-Id: Id4b8ef16f7a428e6c3d8b382387cf575d05926ad
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user