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

Commit a2ad6569 authored by Romain Guy's avatar Romain Guy
Browse files

Increase the Message pool size

Change-Id: If609c9ffbea800ff6409b0096a82f0b899f29343
parent 1f59e5c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -97,7 +97,7 @@ public final class Message implements Parcelable {
    private static Message sPool;
    private static Message sPool;
    private static int sPoolSize = 0;
    private static int sPoolSize = 0;


    private static final int MAX_POOL_SIZE = 10;
    private static final int MAX_POOL_SIZE = 50;


    /**
    /**
     * Return a new Message instance from the global pool. Allows us to
     * Return a new Message instance from the global pool. Allows us to