Merge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666
am: 928b7cba47
Change-Id: I1c41d3eb7ac815b8cf04879fbeee70a66d5a2a3e
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