Accessibility Service - performGlobalAction() returns false

前端 未结 2 1432
醉话见心
醉话见心 2021-01-13 01:09

I am creating an Android Accessibility Service which calls performGlobalAction() at onStartCommand()

public int onStartCommand(Intent intent,          


        
相关标签:
2条回答
  • 2021-01-13 01:38

    In the phone's system settings -> accesivility service I had to enable my app. After that it started to work.

    0 讨论(0)
  • 2021-01-13 01:39

    try Thread.sleep(1000) before performGlobalAction()

    0 讨论(0)
提交回复
热议问题