I've run into a rather unfortunate problem with an application I'm developing that utilizes an accessibility service to do some special handling of notifications when they arrive on a user's device. The thing is, it works just fine, but the service's 'onAccessibilityEvent' function is never invoked unless the service is restarted from Android's Accessibility page, i.e. I must first enable the service from that page, then disable it, then enable it again in order for 'onAccessibilityEvent' to be called at all.
I've tried using Google's example without making any changes of my own, but even then I still appear to be experiencing the same issue, so I'm not sure what to make of what's going on here. Has anyone run into this problem?