public void updateAccountAttributes() throws IOException {
dependencies.getAccountManager()
- .setAccountAttributes(account.getEncryptedDeviceName(),
- null,
+ .setAccountAttributes(null,
account.getLocalRegistrationId(),
true,
null,
account.getSelfUnidentifiedAccessKey(),
account.isUnrestrictedUnidentifiedAccess(),
ServiceConfig.capabilities,
- account.isDiscoverableByPhoneNumber());
+ account.isDiscoverableByPhoneNumber(),
+ account.getEncryptedDeviceName());
}
public void addDevice(DeviceLinkInfo deviceLinkInfo) throws IOException, InvalidDeviceLinkException {