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

here
Andreas Shimokawa 2016-05-23 23:46:54 +02:00
parent 884c4262cf
commit 30c37d3172
1 changed files with 2 additions and 3 deletions

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;