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

Commit f725f98f authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Increase limit of locale pairs

This is just to avoid people injecting arbitrarily large
numbers here and causing crashes due to memory limitation.
Raised to a high enough level to avoid chance of hitting in practice.

Test: build
Change-Id: I1d2a245f9c391a9d6aec52bddd3dc086206d3e30
parent ff6c0e69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ import java.util.Set;
 */
public class ServiceInfo implements Parcelable {
    // arbitrary limit on the number of locale -> name pairs we support
    final static int MAP_LIMIT = 50;
    final static int MAP_LIMIT = 1000;
    /**
     * User displayable names listed by language.  Unmodifiable.
     */