Grant runtime permissions on install in `android_shell.py`. This patch makes android_shell.py grant the runtime permissions specified in the manifest on installation, if the device is running Lollipop or later. Fixes https://github.com/domokit/devtools/issues/56. R=qsr@chromium.org Review URL: https://codereview.chromium.org/1509473002 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: b2d67b1f6db6d68edac5b66eed948181ab3d0607
Unopinionated tools for running, debugging, testing and benchmarking Mojo apps.
git clone https://github.com/domokit/devtools.git
Devtools offers the following tools:
mojo_run - documentation - shell runnermojo_debug - documentation - debuggermojo_test - apptest runnermojo_benchmark - documentation - perf test runnerAdditionally, remote_adb_setup script helps to configure adb on a remote machine to communicate with a device attached to a local machine, forwarding the ports used by mojo_run.
The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.