mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 13:26:50 +01:00
App Manager: Only set up to date apps on FOSSILQHYBRID
This commit is contained in:
parent
6dcd055d0d
commit
c1339aa5c6
@ -143,7 +143,8 @@ public abstract class AbstractAppManagerFragment extends Fragment {
|
||||
|
||||
GBDeviceApp app = new GBDeviceApp(uuid, appName, appCreator, appVersion, appType, previewImage);
|
||||
app.setOnDevice(true);
|
||||
if ((mGBDevice.getType() == DeviceType.FOSSILQHYBRID) && (app.getType() == GBDeviceApp.Type.WATCHFACE) && (!QHybridConstants.HYBRIDHR_WATCHFACE_VERSION.equals(appVersion))) {
|
||||
if (mGBDevice.getType() == DeviceType.FOSSILQHYBRID) {
|
||||
if ((app.getType() == GBDeviceApp.Type.WATCHFACE) && (!QHybridConstants.HYBRIDHR_WATCHFACE_VERSION.equals(appVersion))) {
|
||||
app.setUpToDate(false);
|
||||
}
|
||||
try {
|
||||
@ -154,6 +155,8 @@ public abstract class AbstractAppManagerFragment extends Fragment {
|
||||
LOG.warn("App JSON: " + app.getJSON().toString());
|
||||
LOG.warn("Couldn't read app version", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (filterApp(app)) {
|
||||
appList.add(app);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user