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

Commit 5365cc32 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Add Simultaneous Calling restrictions to PhoneAccount toString

Bug: 319904227
Test: Inspection of toString via adb shell dumpsys telecom
Change-Id: I061f492e8cbb16b6504f668846690fa4d7b3ff31
parent cb1e8b12
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -1283,6 +1283,17 @@ public final class PhoneAccount implements Parcelable {
        sb.append(mExtras);
        sb.append(" GroupId: ");
        sb.append(Log.pii(mGroupId));
        sb.append(" SC Restrictions: ");
        if (hasSimultaneousCallingRestriction()) {
            sb.append("[ ");
            for (PhoneAccountHandle handle : mSimultaneousCallingRestriction) {
                sb.append(handle);
                sb.append(" ");
            }
            sb.append("]");
        } else {
            sb.append("[NONE]");
        }
        sb.append("]");
        return sb.toString();
    }