mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
OC-2461: Fix bug: After insert the pincode, if the device is rotate the pincode is asked again
This commit is contained in:
parent
bcc972d63d
commit
5bab662e90
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
|
|||
// PIN CODE request ; best location is to decide, let's try this first
|
||||
if (getIntent().getAction() != null && getIntent().getAction().equals(Intent.ACTION_MAIN) && savedInstanceState == null) {
|
||||
requestPinCode();
|
||||
} else if (getIntent().getAction() == null) {
|
||||
} else if (getIntent().getAction() == null && savedInstanceState == null) {
|
||||
requestPinCode();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue