mirror of
https://github.com/wownero/wownerujo.git
synced 2026-11-22 00:03:58 +01:00
Bugfix Service restart after OS kill (#96)
* single open wallet * prevent WalletService & Activity from restarting removed stray png
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user