Fix notification crash for Android 13 and 14
This is a fix for #85 (closed). The crash was due to an exception being thrown by the notification permission handler in the notificationDelegate
component. The exception only occurred if the user had previously denied notifications permission, and the notificationDelegate tried to ask the user for notification permission to display media playback or download notifications.
This has been resolved by binding the notificationDelegate
to BrowserActivity
thereby providing the required context to handle permissions as and when required.