Relative Content

Tag Archive for androidaccessibilityservice

How to stop AccessibilityService?

I’m trying to stop it with stopSelf() or stopService() methods. But still it’s running and executing actions. So how to stop executing this?

Android OS 14 – Device is locked > Device is not waking up when injected event through the Accessibility service

I’m developing a private app where I’m using the Accessibility service to inject the various events remotely. One of the event is ‘GLOBAL_ACTION_LOCK_SCREEN’. Using this event, a screen is getting locked. I’m able to inject this event successfully. Then one of the requirement is to wake up a locked device. To do this, I woke up a locked device using the same event, ‘GLOBAL_ACTION_LOCK_SCREEN’. Up to OS 13, this functioned flawlessly. BUT from OS 14, it is no more working.