diff options
author | Dianne Hackborn <hackbod@google.com> | 2016-10-18 13:19:20 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2016-11-01 11:00:41 -0700 |
commit | 2882406de31bd2a60e523253d8794e14af236975 (patch) | |
tree | 23512e2cc27c4b11d4bdd5c499cd5ac52e8f48ae /cmds/appops | |
parent | 5d36bb6cc673128cfba0740b785308146c535a52 (diff) |
Switch am command to go through "cmd activity".
For almost everything... except instrument, which still needs
to be run as the shell user so its UiAutomator callbacks
will work correctly (and not create security holes).
Test: manual
Change-Id: I2e62714a2d5b52501aa261b7e4d6b282b54a0027
Diffstat (limited to 'cmds/appops')
-rwxr-xr-x | cmds/appops/appops | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/appops/appops b/cmds/appops/appops index 25d20311aae2..5dc85aa0979c 100755 --- a/cmds/appops/appops +++ b/cmds/appops/appops @@ -1 +1,2 @@ -cmd appops $@ +#!/system/bin/sh +cmd appops "$@" |