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

Commit ffb56ba8 authored by Winson Chiu's avatar Winson Chiu Committed by Android (Google) Code Review
Browse files

Merge "Encode Intent scheme when serializing to URI string RESTRICT AUTOMERGE" into sc-v2-dev

parents edc0a181 c0f1b9f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11011,7 +11011,7 @@ public class Intent implements Parcelable, Cloneable {
    private void toUriInner(StringBuilder uri, String scheme, String defAction,
            String defPackage, int flags) {
        if (scheme != null) {
            uri.append("scheme=").append(scheme).append(';');
            uri.append("scheme=").append(Uri.encode(scheme)).append(';');
        }
        if (mAction != null && !mAction.equals(defAction)) {
            uri.append("action=").append(Uri.encode(mAction)).append(';');