Explicitly add READ_APP_SPECIFIC_LOCALES permission

Some devices are throwing a SecurityException (calling getApplicationLocales) for some reason.
This commit is contained in:
arkon
2022-11-25 22:32:54 -05:00
parent a8c5780963
commit 7e74949d38
3 changed files with 24 additions and 32 deletions

View File

@@ -197,7 +197,6 @@ class NotificationReceiver : BroadcastReceiver() {
* @param notificationId id of notification
*/
private fun deleteImage(context: Context, path: String, notificationId: Int) {
// Dismiss notification
dismissNotification(context, notificationId)
// Delete file