I have next configuration in my accessibility service.
android:canRequestTouchExplorationMode="true"
Sometimes I need have this value as false. How can I set this value to false from my java code?
Thanks.
No, this attribute may not be configured dynamically. It is needed by the system to determine what permissions your service needs before the service may be started.
Please check the documentation for AccessibilityServiceInfo for fields that may be configured at run-time.