mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-24 10:12:18 -05:00
fix newly introduce issue on PasswordActivity: Preloading was not started correctly, causing potential crash when trying to work offline
This commit is contained in:
parent
e96fc44cf3
commit
f7019c7cec
@ -1787,7 +1787,7 @@ namespace keepass2android
|
|||||||
{
|
{
|
||||||
// OnResume is run every time the activity comes to the foreground. This code should only run when the activity is started (OnStart), but must
|
// OnResume is run every time the activity comes to the foreground. This code should only run when the activity is started (OnStart), but must
|
||||||
// be run in OnResume rather than OnStart so that it always occurrs after OnActivityResult (when re-creating a killed activity, OnStart occurs before OnActivityResult)
|
// be run in OnResume rather than OnStart so that it always occurrs after OnActivityResult (when re-creating a killed activity, OnStart occurs before OnActivityResult)
|
||||||
if (!_starting)
|
if (_starting)
|
||||||
{
|
{
|
||||||
|
|
||||||
_starting = false;
|
_starting = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user