Litecoin-Java / bitcoin-wallet

Bitcoin Wallet app for your Android device. Standalone Bitcoin node, no centralized backend required.
https://play.google.com/store/apps/details?id=de.schildbach.wallet
31 stars 42 forks source link

Disconnect apparently not killing service permanently #51

Open hank opened 10 years ago

hank commented 10 years ago

Something is apparently still turning the service on after Disconnect:

It happened each time after ~20 minutes I think. The notification came back and it started to connect to more and more peers. I had to "disconnect" the app over and over again (I think in total 5 times).

https://litecointalk.org/index.php?topic=12196.msg114690#msg114690

santa4nt commented 10 years ago

This is because of commit d3a4cf0, which merges an upstream commit 9dd696. Particularly, line 737 in BlockchainServiceImpl.java, function onDestroy() that added:

WalletApplication.scheduleStartBlockchainService(this);

I assumed this was added to force a service restart in event of anomalous service interruption (like low memory, etc)?

hank commented 10 years ago

Fantastic. This will be included in the next release, and we'll see if it helps the users who were having issues.

hank commented 10 years ago

Need to remove WalletApplication.scheduleStartBlockchainService(this); from the shutdowns.

hank commented 10 years ago

I believe this is fixed.