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

Commit 37127f86 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Add a toString method to ApfCapabilities.

Change-Id: I505b90b7cd818cb3477990ec6b41b16db46d1c08
parent 5812e648
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -43,4 +43,9 @@ public class ApfCapabilities {
        this.maximumApfProgramSize = maximumApfProgramSize;
        this.apfPacketFormat = apfPacketFormat;
    }

    public String toString() {
        return String.format("%s{version: %d, maxSize: %d format: %d}", getClass().getSimpleName(),
                apfVersionSupported, maximumApfProgramSize, apfPacketFormat);
    }
}