So, I have made this application which base functionality is dependent upon accessibilty service of android system. Now after the development, I see issue happening that for some specific devices like oneplus or poco, after using some time the app do malfunctioning and the service stops working, unless user has to force stop the application and then run again. I am not being able to debug the issue still, my accessibilty service structure looks like this
“””
onAccessibilityEvent(){}
onServiceConnected(){}
onDestroy() {}
“””
and for the config XML file looks like this