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

Commit a8e58689 authored by Evan Chen's avatar Evan Chen Committed by Raphael Kim
Browse files

Dump association info in short string for device presence monitor

(syncing master branch with tm-dev)

Bug: 234535045
Test: atest CtsCompanionDeviceManagerCoreTestCases:DumpSysTest
Change-Id: I51675dac55d975b925db7b8d577b4d8593bfd261
parent eba0cb55
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -315,7 +315,7 @@ public class CompanionDevicePresenceMonitor implements AssociationStore.OnChange
            out.append("\n");
            for (int associationId : mConnectedBtDevices) {
                AssociationInfo a = mAssociationStore.getAssociationById(associationId);
                out.append("    ").append(a.toString()).append('\n');
                out.append("    ").append(a.toShortString()).append('\n');
            }
        }

@@ -326,7 +326,7 @@ public class CompanionDevicePresenceMonitor implements AssociationStore.OnChange
            out.append("\n");
            for (int associationId : mNearbyBleDevices) {
                AssociationInfo a = mAssociationStore.getAssociationById(associationId);
                out.append("    ").append(a.toString()).append('\n');
                out.append("    ").append(a.toShortString()).append('\n');
            }
        }

@@ -337,7 +337,7 @@ public class CompanionDevicePresenceMonitor implements AssociationStore.OnChange
            out.append("\n");
            for (int associationId : mReportedSelfManagedDevices) {
                AssociationInfo a = mAssociationStore.getAssociationById(associationId);
                out.append("    ").append(a.toString()).append('\n');
                out.append("    ").append(a.toShortString()).append('\n');
            }
        }
    }