mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-25 20:59:21 +01:00
add adb-reset-permissions.bash
This commit is contained in:
parent
318473403f
commit
1070d2bbf4
7
bash/adb-reset-permissions.bash
Executable file
7
bash/adb-reset-permissions.bash
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user