1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-13 08:54:03 +02:00

Pebble: no longer clear list of cached apps as soon as the installed watchfaces is received from Firmware 2.x

This will result in duplicate entries (first the whole cache, then actually installed watchfaces)
It might already make watchface configuation working on 2.x even though it is dirty

I wish everybody would just update to 3.x *sigh*
This commit is contained in:
Andreas Shimokawa 2016-05-22 12:30:47 +02:00
parent ca714417ac
commit 5a20d7ec81

View File

@ -47,7 +47,7 @@ public class AppManagerActivity extends GBActivity {
if (action.equals(GBApplication.ACTION_QUIT)) { if (action.equals(GBApplication.ACTION_QUIT)) {
finish(); finish();
} else if (action.equals(ACTION_REFRESH_APPLIST)) { } else if (action.equals(ACTION_REFRESH_APPLIST)) {
appList.clear(); //appList.clear();
int appCount = intent.getIntExtra("app_count", 0); int appCount = intent.getIntExtra("app_count", 0);
for (Integer i = 0; i < appCount; i++) { for (Integer i = 0; i < appCount; i++) {
String appName = intent.getStringExtra("app_name" + i.toString()); String appName = intent.getStringExtra("app_name" + i.toString());