android-pdfviewer icon indicating copy to clipboard operation
android-pdfviewer copied to clipboard

Catch SecurityException on PDF renderer instantiation

Open QZ145 opened this issue 9 months ago • 0 comments

The PR addresses crash when opening a password-protected PDF file.

SecurityException is thrown on PdfRenderer instantiation when the file is password-protected. See https://developer.android.com/reference/android/graphics/pdf/PdfRenderer#PdfRenderer(android.os.ParcelFileDescriptor)

QZ145 avatar May 07 '24 13:05 QZ145