Open Password protected pdf

I am writing a little PDF app for myself using Android Studio. I have password open pdf issue. I look in this forum but could not find something related.

Senario

Busy testing. When I open a password protected PDF the password dialog appears, i enter the correct password, select unlock but then empty password dialog popup again with message, with message “wrong password entered”. Looks as if Syncfusion never received password. So I think.

Any one know what the possible cause can be.