Sort device infos

This commit is contained in:
cpfeiffer 2016-03-25 23:54:42 +01:00
parent 8165751e57
commit bff5837930
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections;
import java.util.List; import java.util.List;
import nodomain.freeyourgadget.gadgetbridge.GBApplication; import nodomain.freeyourgadget.gadgetbridge.GBApplication;
@ -344,6 +345,7 @@ public class GBDevice implements Parcelable {
if (mFirmwareVersion != null) { if (mFirmwareVersion != null) {
result.add(new GenericItem(DEVINFO_FW_VER, mFirmwareVersion)); result.add(new GenericItem(DEVINFO_FW_VER, mFirmwareVersion));
} }
Collections.sort(result);
return result; return result;
} }