mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 08:12:28 -08:00
Refactor code to lock
This commit is contained in:
1 parent
f66500f535
commit
a1ecc5b399
12 files changed
+75
-151
No files matched your search
@@ -23,7 +23,7 @@ import android.app.Activity;
|
||||
import android.content.SharedPreferences;
|
||||
import android.preference.PreferenceManager;
|
||||
|
||||
import com.kunzisoft.keepass.KeePass;
|
||||
import com.keepassdroid.password.PasswordActivity;
|
||||
import com.kunzisoft.keepass.R;
|
||||
import com.keepassdroid.app.App;
|
||||
import com.keepassdroid.compat.EditorCompat;
|
||||
@@ -88,7 +88,7 @@ public class TimeoutHelper {
|
||||
|
||||
public static void checkShutdown(Activity act) {
|
||||
if ( App.isShutdown() && App.getDB().Loaded() ) {
|
||||
act.setResult(KeePass.EXIT_LOCK);
|
||||
act.setResult(PasswordActivity.RESULT_EXIT_LOCK);
|
||||
act.finish();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user