Using new device.getName() API
This commit is contained in:
parent
c695730c50
commit
96a23cf16d
1 changed files with 2 additions and 4 deletions
|
@ -74,8 +74,7 @@ class DevicesAdapter extends BaseExpandableListAdapter {
|
|||
view.setTag(holder);
|
||||
}
|
||||
|
||||
Address deviceAddress = device.getAddress();
|
||||
holder.deviceName.setText(deviceAddress.getUriParam("gr")); // TODO
|
||||
holder.deviceName.setText(device.getName());
|
||||
|
||||
ChatRoomSecurityLevel level = device.getSecurityLevel();
|
||||
switch (level) {
|
||||
|
@ -150,8 +149,7 @@ class DevicesAdapter extends BaseExpandableListAdapter {
|
|||
view.setTag(holder);
|
||||
}
|
||||
|
||||
Address deviceAddress = device.getAddress();
|
||||
holder.deviceName.setText(deviceAddress.getUriParam("gr")); // TODO
|
||||
holder.deviceName.setText(device.getName());
|
||||
|
||||
ChatRoomSecurityLevel level = device.getSecurityLevel();
|
||||
switch (level) {
|
||||
|
|
Loading…
Reference in a new issue