android-pdfviewer
android-pdfviewer copied to clipboard
Catch SecurityException on PDF renderer instantiation
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)