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

Commit 42f85dd9 authored by Flavio Lerda's avatar Flavio Lerda
Browse files

Mark method as needed for testing.

There are tests for this method, but it is not actually used in the
application.

For now, I will mark it as needed for testing, so that ProGuard does not
remove it, but the long term solution is to clean up this bits of the
code.

Bug: 5594198
Change-Id: I67b5abdc0c9d3c729fb50d5981e3791508593148
parent 252159e0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ public class FormatUtils {
    }

    /** Returns a String that represents the content of the given {@link CharArrayBuffer}. */
    @NeededForTesting
    public static String charArrayBufferToString(CharArrayBuffer buffer) {
        return new String(buffer.data, 0, buffer.sizeCopied);
    }