You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PermissionRequester in an instrumented test on API < 28, there's a RuntimeException that says "Error while connecting UiAutomation"
Steps to Reproduce
Create a custom test runner
Request permissions in either callApplicationOnCreate() or callActivityOnCreate() through PermissionRequester API
Run instrumented test on API < 28
Expected Results
Permission is granted and can be utilized
Actual Results
Test crashes before even starting
AndroidX Test and Android OS Versions
Test: 1.2.0
API < 28, tested down to 25
Link to a public git repo demonstrating the problem: