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

Pebble: only remove apps from app list when they got deleted from cache also

This commit is contained in:
Andreas Shimokawa 2016-05-23 23:46:54 +02:00
parent 884c4262cf
commit 30c37d3172

View File

@ -230,11 +230,10 @@ public class AppManagerActivity extends GBActivity {
LOG.info("deleted file: " + fileToDelete.toString());
}
}
removeAppFromList(selectedApp.getUUID());
// fall through
case R.id.appmanager_app_delete:
UUID uuid = selectedApp.getUUID();
GBApplication.deviceService().onAppDelete(uuid);
removeAppFromList(uuid);
GBApplication.deviceService().onAppDelete(selectedApp.getUUID());
return true;
case R.id.appmanager_app_reinstall:
File cachePath;