Pebble: only remove apps from app list when they got deleted from cache also
This commit is contained in:
parent
884c4262cf
commit
30c37d3172
|
@ -230,11 +230,10 @@ public class AppManagerActivity extends GBActivity {
|
||||||
LOG.info("deleted file: " + fileToDelete.toString());
|
LOG.info("deleted file: " + fileToDelete.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
removeAppFromList(selectedApp.getUUID());
|
||||||
// fall through
|
// fall through
|
||||||
case R.id.appmanager_app_delete:
|
case R.id.appmanager_app_delete:
|
||||||
UUID uuid = selectedApp.getUUID();
|
GBApplication.deviceService().onAppDelete(selectedApp.getUUID());
|
||||||
GBApplication.deviceService().onAppDelete(uuid);
|
|
||||||
removeAppFromList(uuid);
|
|
||||||
return true;
|
return true;
|
||||||
case R.id.appmanager_app_reinstall:
|
case R.id.appmanager_app_reinstall:
|
||||||
File cachePath;
|
File cachePath;
|
||||||
|
|
Loading…
Reference in New Issue