OC-2461: Fix bug: After insert the pincode, if the device is rotate the pincode is asked again

This commit is contained in:
masensio 2014-01-08 13:02:16 +01:00
parent bcc972d63d
commit 5bab662e90

View file

@ -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();
}