diff --git a/CHANGELOG.md b/CHANGELOG.md index ce785d9d3..4921ccb7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ####Next Version * Pebble: Allow installing apps compiled with SDK 2.x also on the balast platform (Time, Time Steel) +* Some new and updated icons ####Version 0.6.9 * Pebble: Store app details in pbw-cache and display them in app manager on firmware 3.x diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppManagerActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppManagerActivity.java index 45996f92a..4071de6d5 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppManagerActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/AppManagerActivity.java @@ -73,8 +73,8 @@ public class AppManagerActivity extends Activity { private List getSystemApps() { List systemApps = new ArrayList<>(); - systemApps.add(new GBDeviceApp(UUID.fromString("4dab81a6-d2fc-458a-992c-7a1f3b96a970"), "Sports (System)", "Pebble Inc.", "", GBDeviceApp.Type.UNKNOWN)); - systemApps.add(new GBDeviceApp(UUID.fromString("cf1e816a-9db0-4511-bbb8-f60c48ca8fac"), "Golf (System)", "Pebble Inc.", "", GBDeviceApp.Type.UNKNOWN)); + systemApps.add(new GBDeviceApp(UUID.fromString("4dab81a6-d2fc-458a-992c-7a1f3b96a970"), "Sports (System)", "Pebble Inc.", "", GBDeviceApp.Type.APP_SYSTEM)); + systemApps.add(new GBDeviceApp(UUID.fromString("cf1e816a-9db0-4511-bbb8-f60c48ca8fac"), "Golf (System)", "Pebble Inc.", "", GBDeviceApp.Type.APP_SYSTEM)); return systemApps; } diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAppAdapter.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAppAdapter.java index b93e00bb9..5a8137926 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAppAdapter.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAppAdapter.java @@ -43,9 +43,15 @@ public class GBDeviceAppAdapter extends ArrayAdapter { deviceAppVersionAuthorLabel.setText(getContext().getString(R.string.appversion_by_creator, deviceApp.getVersion(), deviceApp.getCreator())); deviceAppNameLabel.setText(deviceApp.getName()); switch (deviceApp.getType()) { + case APP_GENERIC: + deviceImageView.setImageResource(R.drawable.ic_watchapp); + break; case APP_ACTIVITYTRACKER: deviceImageView.setImageResource(R.drawable.ic_activitytracker); break; + case APP_SYSTEM: + deviceImageView.setImageResource(R.drawable.ic_systemapp); + break; case WATCHFACE: deviceImageView.setImageResource(R.drawable.ic_watchface); break; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/impl/GBDeviceApp.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/impl/GBDeviceApp.java index fd4d151a0..fda269a9c 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/impl/GBDeviceApp.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/impl/GBDeviceApp.java @@ -69,6 +69,7 @@ public class GBDeviceApp { WATCHFACE, APP_GENERIC, APP_ACTIVITYTRACKER, + APP_SYSTEM, } public JSONObject getJSON() { diff --git a/app/src/main/res/drawable-hdpi/ic_systemapp.png b/app/src/main/res/drawable-hdpi/ic_systemapp.png new file mode 100644 index 000000000..9e9e337ba Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_systemapp.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_systemapp.png b/app/src/main/res/drawable-mdpi/ic_systemapp.png new file mode 100644 index 000000000..e30028930 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_systemapp.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_systemapp.png b/app/src/main/res/drawable-xhdpi/ic_systemapp.png new file mode 100644 index 000000000..7c83b44b1 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_systemapp.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_systemapp.png b/app/src/main/res/drawable-xxhdpi/ic_systemapp.png new file mode 100644 index 000000000..731e247dc Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_systemapp.png differ