Don't lock app on recreate
This commit is contained in:
parent
1f6d3d94ed
commit
ff50e68e90
@ -134,6 +134,7 @@ public class MainActivity extends BaseActivity {
|
||||
|
||||
private void launchApp() {
|
||||
fullyLaunched = true;
|
||||
lockOnPause = true;
|
||||
|
||||
binding = ActivityMainBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
@ -308,6 +309,12 @@ public class MainActivity extends BaseActivity {
|
||||
OTPDatabase.promptLoadDatabase(this, () -> {}, () -> {});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recreate() {
|
||||
lockOnPause = false;
|
||||
super.recreate();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
super.onStop();
|
||||
|
Loading…
Reference in New Issue
Block a user