scripts/bash/adb-reset-permissions.bash

8 lines
200 B
Bash
Executable File

#!/usr/bin/env bash
set -x
# As the GUI method did nothing for me, this will hopefully reset all
# permissions of apps on an Android device.
adb "$@" shell pm reset-permissions
adb "$@" reboot
set +x