Home > Mobile >  AccessibilityService. DispatchGesture started sliding screen is normal, but after running for a peri
AccessibilityService. DispatchGesture started sliding screen is normal, but after running for a peri

Time:09-18

Android8.0

AccessibilityService. DispatchGesture started sliding screen is normal, but after running for a period of time, return false, don't know why?
Trouble just know a friend to explain, when executed, the screen is to ensure there is no hand to move the screen,

In accessibilityService. DispatchGesture returns false, accessibilityService. PerformGlobalAction can operate, accessibilityService only. DispatchGesture implementation returns false, have to restart your mobile phone after normal accessibilityService. DispatchGesture to return true,


Seeking friends give a feedback, thanks a lot, is accessibilityService. DispatchGesture execution inside what? What is false, I more android stuff are not familiar with ah, trouble android friends say thank you.

CodePudding user response:

 
Final IAccessibilityServiceConnection connection=
AccessibilityInteractionClient. GetInstance (). The getConnection (
MConnectionId);
If (connection==null) {
return false;
}

There is no connection returns false
  • Related