public static void grantUriPermission(Context context, Uri uri) {
        context.grantUriPermission("com.android.systemui", uri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
    }
In Android 7 and 8, the app will crash if an external process has no
permission to access content:// Uris, which are used for shared files in [App path]/files/shared_files.
This was fixed in Android 9.
See: https://stackoverflow.com/questions/39359465/android-7-0-notification-sound-from-file-provider-uri-not-playing
src/android/Manager.java