How to invoke setServiceInfo method in AccessibilityService on runtime
@Override
protected void onServiceConnected() {
// TODO Auto-generated method stub
log("onServiceConnected");
setServiceInfo();
}
I need to dynamically change the serviceInfo values on runtime based on certain scenarios. I could not find a way to restart the service or call setServiceInfo from another class.
Please suggest me on this, Thanks