Added function to cleanup inventory (mine grew to 1.5GB) but no automatism yet

This commit is contained in:
2016-12-16 07:44:01 +01:00
parent 6f26e84f71
commit 249c97d4ba
8 changed files with 57 additions and 10 deletions

View File

@ -33,11 +33,11 @@ import static ch.dissem.apps.abit.notification.NetworkNotification.NETWORK_NOTIF
* onPerformSync().
*/
public class BitmessageService extends Service {
private NetworkNotification notification = null;
private static BitmessageContext bmc = null;
private static volatile boolean running = false;
private NetworkNotification notification = null;
public static boolean isRunning() {
return running && bmc.isRunning();
}