Open master255 opened 4 days ago
re #88 #38
@master255 Few questions:
@bk138
@bk138 I found a error, when I tap on my phone screen and nothing works, then this error occurs: MotionEventInjector installation timed out
When I hit stop in the management console and go to settings where permissions are listed, the permissions there are turned off.
Hm, https://www.google.com/search?q=%22MotionEventInjector+installation+timed+out%22 doesn't list anything helpful, at least for me. I figure we'd need a complete logcat dump over time. You can use something like adb shell logcat > logcat.txt
to dump to a file.
@bk138 I think your program should disconnect and destroy your service on the onDetach() event and reconnect it on the onCreateView event. In my application, if I don't do this, the service stops working. This is a result of Doze mode.
@bk138 I think your program should disconnect and destroy your service on the onDetach() event and reconnect it on the onCreateView event. In my application, if I don't do this, the service stops working. This is a result of Doze mode.
Well the server is supposed to keep running without a UI, that's why there's a ForegroundService; no onDetach() nor onCreateView() there...
We need to test DOZE mode. There are special commands for testing.
Steps to reproduce the behavior:
Expected Behavior The permission to click the mouse is present
Your environment (please complete the following information):