Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5902b55f authored by William Loh's avatar William Loh Committed by Automerger Merge Worker
Browse files

Merge "Fail parseUri if end is missing" into tm-dev am: 831ee225

parents e90c7991 831ee225
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -7602,6 +7602,9 @@ public class Intent implements Parcelable, Cloneable {
                int eq = uri.indexOf('=', i);
                int eq = uri.indexOf('=', i);
                if (eq < 0) eq = i-1;
                if (eq < 0) eq = i-1;
                int semi = uri.indexOf(';', i);
                int semi = uri.indexOf(';', i);
                if (semi < 0) {
                    throw new URISyntaxException(uri, "uri end not found");
                }
                String value = eq < semi ? Uri.decode(uri.substring(eq + 1, semi)) : "";
                String value = eq < semi ? Uri.decode(uri.substring(eq + 1, semi)) : "";


                // action
                // action