I've created a accessibly service for saving every toast message, but now hotword detection in Google Now will be disabled, if I activate my service. Logcat shows:
W/HotwordState﹕ suspended: 11001001000000
And on Google Now you can see it with a different mic-icon.
What could cause this behavior?
Edit: The source code is on github now: https://github.com/mars3142/toaster
To prevent false positives, hotword detection is disabled when a spoken feedback service is enabled. You have defined your service as providing all possible types of feedback, which includes spoken.
android:accessibilityFeedbackType="feedbackAllMask"
You should change this to reflect only the type of feedback your service actually provides. For example:
android:accessibilityFeedbackType="feedbackGeneric"
来源:https://stackoverflow.com/questions/22296163/hotword-detection-disabled-with-accessibly-service