Through DispatchGesture, I need to somehow click on the back button, but do it programmatically, without clicking on the button or reproduce finish(), only in another app
I found a code that only clicks on the given coordinates
Thanks in advance:)
UPDATE I found this: Trigger back-button functionality on button click in Android, but I want to make a click from Service