Reputation: 558
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:
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?
Upvotes: 1
Views: 710
Reputation: 86
In whatsapprelay/blob/master/src/com/snirpoapps/whatsapprelay/WhatsAppService change this:
info.feedbackType = AccessibilityServiceInfo.FEEDBACK_ALL_MASK
To this:
info.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC
Upvotes: 3