mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-30 14:02:56 +01:00
Pebble: add Kickstart Watchface to app manager on FW 4.X
I know it only exist on 4.3+, but I am lazy
This commit is contained in:
parent
02e6ce02b2
commit
9d083e2330
@ -195,6 +195,11 @@ public abstract class AbstractAppManagerFragment extends Fragment {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (PebbleUtils.getFwMajor(mGBDevice.getFirmwareVersion()) >= 4) {
|
||||||
|
if (baseName.equals("3af858c3-16cb-4561-91e7-f1ad2df8725f")) {
|
||||||
|
cachedAppList.add(new GBDeviceApp(UUID.fromString(baseName), "Kickstart (System)", "Pebble Inc.", "", GBDeviceApp.Type.WATCHFACE_SYSTEM));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (uuids == null) {
|
if (uuids == null) {
|
||||||
cachedAppList.add(new GBDeviceApp(UUID.fromString(baseName), baseName, "N/A", "", GBDeviceApp.Type.UNKNOWN));
|
cachedAppList.add(new GBDeviceApp(UUID.fromString(baseName), baseName, "N/A", "", GBDeviceApp.Type.UNKNOWN));
|
||||||
|
@ -12,6 +12,7 @@ public class AppManagerFragmentInstalledWatchfaces extends AbstractAppManagerFra
|
|||||||
protected List<GBDeviceApp> getSystemAppsInCategory() {
|
protected List<GBDeviceApp> getSystemAppsInCategory() {
|
||||||
List<GBDeviceApp> systemWatchfaces = new ArrayList<>();
|
List<GBDeviceApp> systemWatchfaces = new ArrayList<>();
|
||||||
systemWatchfaces.add(new GBDeviceApp(UUID.fromString("8f3c8686-31a1-4f5f-91f5-01600c9bdc59"), "Tic Toc (System)", "Pebble Inc.", "", GBDeviceApp.Type.WATCHFACE_SYSTEM));
|
systemWatchfaces.add(new GBDeviceApp(UUID.fromString("8f3c8686-31a1-4f5f-91f5-01600c9bdc59"), "Tic Toc (System)", "Pebble Inc.", "", GBDeviceApp.Type.WATCHFACE_SYSTEM));
|
||||||
|
systemWatchfaces.add(new GBDeviceApp(UUID.fromString("3af858c3-16cb-4561-91e7-f1ad2df8725f"), "Kickstart (System)", "Pebble Inc.", "", GBDeviceApp.Type.WATCHFACE_SYSTEM));
|
||||||
return systemWatchfaces;
|
return systemWatchfaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user