[Android Q&A, Help & Troubleshooting] JBNex:
My device is a Nexus 6P on Stock 7.0, and rooted.

If I download an apk from a browser like Chrome, I get the dialog completion notification in my notifications. If I open up my notifications by swiping down, and tap on the completed download, I get this error:

Now, if I open up a file manager and navigate to Downloads folder and click the file, it opens the package installer dialog as it should be. If I open up the Downloads app and do the same thing, it does not crash either. Only when I try to open the file via the notification panel, I get this message. Error occurs when trying to tap the "Download Complete" notification:

If I click the open button in the dialog that Chrome displays, it does not crash.

I managed to get the logcat of the crash:

350/? E/DatabaseUtils: Writing exception to parcel
java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/all_downloads/159 from pid=745, uid=10023 requires android.permission.ACCESS_ALL_DOWNLOADS, or grantUriPermission()
at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:608)
at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:483)
at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:474)
at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:419)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:313)
at android.os.Binder.execTransact(Binder.java:565)
11-22 20:40:34.200 745-796/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: com.google.android.packageinstaller, PID: 745
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:318)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/all_downloads/159 from pid=745, uid=10023 requires android.permission.ACCESS_ALL_DOWNLOADS, or grantUriPermission()
at android.os.Parcel.readException(Parcel.java:1683)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:692)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1145)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:982)
at android.content.ContentResolver.openInputStream(ContentResolver.java:702)
at com.android.packageinstaller.PackageInstallerActivity$StagingAsyncTask.doInBackground(PackageInstallerActivity.java:732)
at com.android.packageinstaller.PackageInstallerActivity$StagingAsyncTask.doInBackground(PackageInstallerActivity.java:723)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)*
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)*
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)*
at java.lang.Thread.run(Thread.java:761)*
11-22 20:40:34.209 1090-3592/? W/ActivityManager: Force finishing activity com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity
11-22 20:40:34.214 1090-3592/? W/ActivityManager: Force finishing activity com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity
11-22 20:40:34.214 1090-3592/? W/ActivityManager: Duplicate finish request for ActivityRecord{f061cbf u0 com.google.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity t358 f}

Does anyone else experience this? How do I fix this problem?