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

Commit be61d26a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add toString() to prevent IllegalAccessException."

parents d36e8897 e3222069
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -110,6 +110,21 @@ public class AdnCapacity implements Parcelable {
        return mMaxAdnCount > 0;
    }

    @Override
    public String toString() {
        String capacity = "getAdnRecordsCapacity : max adn=" + mMaxAdnCount
                + ", used adn=" + mUsedAdnCount
                + ", max email=" + mMaxEmailCount
                + ", used email=" + mUsedEmailCount
                + ", max anr=" + mMaxAnrCount
                + ", used anr=" + mUsedAnrCount
                + ", max name length=" + mMaxNameLength
                + ", max number length =" + mMaxNumberLength
                + ", max email length =" + mMaxEmailLength
                + ", max anr length =" + mMaxAnrLength;
        return capacity;
    }

    public static final Parcelable.Creator<AdnCapacity> CREATOR
            = new Parcelable.Creator<AdnCapacity>() {
        @Override