I recently developed an application run on android that monitors the notifications received with a service. When i enable the accessibility to monitor the notification the "ok google" always on function is disabled.
The code is based on this: https://github.com/Snirpo/whatsapprelay
You can reproduce the error installing : Pebble Whatsapp
Enable the application in the menu accessibility in settings:
"Pebble WhatsApp notifier needs to:
- Observe your acions receive notifications when you're interacting with an app."
when i turn on this function, the always on "ok google" is automatically disabled.
i'm running KitKat on a Nexus5
does anyone know why? and how i can solve?
In whatsapprelay/blob/master/src/com/snirpoapps/whatsapprelay/WhatsAppService change this:
To this: