mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
Pebble: report current firmware string to PebbleKit (eg. "v3.12.2") not "Gadgetbridge"
This commit is contained in:
parent
185605211d
commit
9132736428
@ -63,10 +63,12 @@ public class PebbleContentProvider extends ContentProvider {
|
||||
if (prefs.getBoolean("pebble_enable_pebblekit", false)) {
|
||||
appMessage = 1;
|
||||
}
|
||||
String fwString = "unknown";
|
||||
if (mGBDevice != null && mGBDevice.getType() == DeviceType.PEBBLE && mGBDevice.isInitialized()) {
|
||||
connected = 1;
|
||||
fwString = mGBDevice.getFirmwareVersion();
|
||||
}
|
||||
mc.addRow(new Object[]{connected, appMessage, 0, 3, 8, 2, "Gadgetbridge"});
|
||||
mc.addRow(new Object[]{connected, appMessage, 0, 3, 8, 2, fwString});
|
||||
|
||||
return mc;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user