My instrumented test invokes an API that requires android.permission.PACKAGE_USAGE_STATS and I have added a Rule in my test class like so:
pu