Bugfix Service restart after OS kill (#96)

* single open wallet

* prevent WalletService & Activity from restarting
removed stray png
This commit is contained in:
m2049r
2017-10-03 22:45:03 +02:00
committed by GitHub
parent f282f01edd
commit e8b749af3b
5 changed files with 52 additions and 56 deletions
@@ -151,7 +151,10 @@ public class WalletActivity extends AppCompatActivity implements WalletFragment.
Log.d(TAG, "onCreate()");
super.onCreate(savedInstanceState);
if (savedInstanceState != null) {
// we don't store anything ourselves
// activity restarted
// we don't want that - finish it and fall back to previous activity
finish();
return;
}
setContentView(R.layout.wallet_activity);