Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Formatted device information #1568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,11 @@ public ItemWithDetails getDeviceInfo(String name) {
public List<ItemWithDetails> getDeviceInfos() {
List<ItemWithDetails> result = new ArrayList<>();
if (mDeviceInfos != null) {
result.addAll(mDeviceInfos);
for (ItemWithDetails deviceInfo : mDeviceInfos){
GenericItem item = new GenericItem(deviceInfo.getName() + ": ", deviceInfo.getDetails());
item.setIcon(deviceInfo.getIcon());
result.add(item);
}
}
if (mModel != null) {
result.add(new GenericItem(DEVINFO_HW_VER, mModel));
Expand Down