mirror of
https://github.com/osfans/trime.git
synced 2026-11-08 01:16:38 +08:00
XXPermissions 28.x replaces string-based permission names with IPermission objects and replaces the callback interface. Migrate the notification permission check in MainActivity to the new API. On Android 8-12 the check now reflects whether notifications are actually enabled: the library maps POST_NOTIFICATIONS to the notification service permission on releases before Android 13.