mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 09:17:29 +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