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

Commit 491b927a authored by Eugene Susla's avatar Eugene Susla
Browse files

Fix CDM `associate` shell command

Fixes: 175313711
Test: atest CompanionDeviceManagerTest
Change-Id: I0af391e2967300cec866675b6444b76951dfb0eb
parent b37c18a5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -912,8 +912,9 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
                    break;

                    case "associate": {
                        addAssociation(new Association(getNextArgInt(), getNextArgRequired(),
                                getNextArgRequired(), null, false));
                        String pkg = getNextArgRequired();
                        String address = getNextArgRequired();
                        addAssociation(new Association(getNextArgInt(), address, pkg, null, false));
                    }
                    break;