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

Commit 1847b4eb authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Expose capabilitiesToString for use in Telecom.

We will use this in phone account registrar to make the logs more useful.

Test: Manual
Bug: 119306215
Change-Id: Ic882192bc5f135e70f37ddbba055127fdb9c1569
parent fbc4e555
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -985,10 +985,10 @@ public final class PhoneAccount implements Parcelable {
    /**
     * Generates a string representation of a capabilities bitmask.
     *
     * @param capabilities The capabilities bitmask.
     * @return String representation of the capabilities bitmask.
     * @hide
     */
    private String capabilitiesToString() {
    public String capabilitiesToString() {
        StringBuilder sb = new StringBuilder();
        if (hasCapabilities(CAPABILITY_SELF_MANAGED)) {
            sb.append("SelfManaged ");