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

Commit 96a2bfae authored by Raphael Kim's avatar Raphael Kim
Browse files

Always log device disassociation

Bug: 243708509
Test: Not applicable
Change-Id: Id5019917cd631b91e37bf57332433011025c0c19
parent 202d3959
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -607,10 +607,8 @@ public class CompanionDeviceManagerService extends SystemService {

        @Override
        public void legacyDisassociate(String deviceMacAddress, String packageName, int userId) {
            if (DEBUG) {
            Log.i(TAG, "legacyDisassociate() pkg=u" + userId + "/" + packageName
                    + ", macAddress=" + deviceMacAddress);
            }

            requireNonNull(deviceMacAddress);
            requireNonNull(packageName);
@@ -622,7 +620,7 @@ public class CompanionDeviceManagerService extends SystemService {

        @Override
        public void disassociate(int associationId) {
            if (DEBUG) Log.i(TAG, "disassociate() associationId=" + associationId);
            Log.i(TAG, "disassociate() associationId=" + associationId);

            final AssociationInfo association =
                    getAssociationWithCallerChecks(associationId);