Aug 8, 2017 · 1 min read
You can, through UiDevice.getInstance().executeShellComand()
See example: https://artemzin.com/blog/easiest-way-to-give-set_animation_scale-permission-for-your-ui-tests-on-android/
However clearing data kills process and it’ll kill tests as well
