Skip to content

Commit 46fd1e9

Browse files
committed
Bump to 1.13.5
- Add copytext to commands - Add reset appops - Make configurations all optional
1 parent ac59d4f commit 46fd1e9

File tree

10 files changed

+535
-370
lines changed

10 files changed

+535
-370
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.pyc
2+
prefs.plist

commands.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
CMD_INSTALL_APP = adbs + 'install -r {0} {1}'
9292

9393
# List apps
94-
CMD_LIST_APPS = adbshell + "'pm list packages -f' | grep package: | sed -e 's/.*=//' | sed 's/\r//g' | sort"
94+
CMD_LIST_APPS = adbshell + "'pm list packages -f' | grep package: | sed -e 's/.*=//' | sed 's/\\r//g' | sort"
9595

9696
# Check keyboard
9797
CMD_CHECK_KEYBOARD = adbshell + "dumpsys input_method | grep mInputShown | awk '{{print $4}}'"
@@ -103,4 +103,7 @@
103103
CMD_DUMP_STACK = adbshell + "dumpsys activity activities | grep 'Hist \|taskAffinity=\|app=ProcessRecord'"
104104

105105
# Dump notification
106-
CMD_DUMP_NOTIFICATION = adbshell + "dumpsys notification --noredact | sed -n '/Notification List/,/Notification Preferences/p'"
106+
CMD_DUMP_NOTIFICATION = adbshell + "dumpsys notification --noredact | sed -n '/Notification List/,/Notification Preferences/p'"
107+
108+
# Reset appops
109+
CMD_RESET_APPOPS = adbshell + "cmd appops reset {}"

0 commit comments

Comments
 (0)