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

Commit 41e0839b authored by Jesse Wilson's avatar Jesse Wilson
Browse files

Warn about changed behavior around '+' characters.

Bug: http://code.google.com/p/android/issues/detail?id=21064
Change-Id: I086c2c8433f05185a1496e2662734d239d8cbb74
parent e9a291e7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1645,6 +1645,9 @@ public abstract class Uri implements Parcelable, Comparable<Uri> {
    /**
     * Searches the query string for the first value with the given key.
     *
     * <p><strong>Warning:</strong> Prior to Ice Cream Sandwich, this decoded
     * the '+' character as '+' rather than ' '.
     *
     * @param key which will be encoded
     * @throws UnsupportedOperationException if this isn't a hierarchical URI
     * @throws NullPointerException if key is null