Notifications from non-autorotate-permitted apps seem to perturb autorotatability of autorotate-permitted apps
I generally don't like autorotate, so your app is perfect for me (thank you!!). One of the few apps that auto auto-rotate allows to autorotate is OSMAnd, because the satnav mount on my motorcycle is set up for landscape mode.
If I'm riding along and a Telegram (an app which is not allowed to autorotate) notification comes in, the screen tries to go portrait-mode to display the notification, the notification times out after a few seconds and disappears, but the screen stays portrait-mode, with OSMAnd in portrait mode (and thus on its side, when I look at it) until I stop, quit OSMAnd, and restart it. It's almost as if auto auto-rotate notices when telegram comes along (and so turns autorotate off), but doesn't notice when the telegram notification times out (and so doesn't turn it back on).
I don't know if I'm overlooking some setting that I should have set, or what. Ideally, I'd like is for everything to be landscape mode while a landscape mode app owns the screen; but I'd settle for OSMAnd going back to landscape mode after the notification times out and disappears.
This is using Android 8.1 under /e/ on a Samsung Galaxy S9, with auto auto-rotate installed from f-droid, in case that helps.