diff options
| author | 2025-01-15 10:25:39 -0800 | |
|---|---|---|
| committer | 2025-01-15 10:25:39 -0800 | |
| commit | d07b2f6443458c8e9f6f44b8f07928140975fcd2 (patch) | |
| tree | 1efdb64debe1aefebe006f5d0adf1fa9a12e5b06 | |
| parent | 21b2641a4deb0c953d3c7d52c12120acbed289a7 (diff) | |
| parent | a67f9185370fe956a6af61c4cd81ebe7d5bbad4c (diff) | |
Merge "Run AM as a top-app process" into main
| -rwxr-xr-x | cmds/am/am.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/am/am.sh b/cmds/am/am.sh index 54c2d394be2c..76ec214cb446 100755 --- a/cmds/am/am.sh +++ b/cmds/am/am.sh @@ -1,5 +1,8 @@ #!/system/bin/sh +# set to top-app process group +settaskprofile $$ SCHED_SP_TOP_APP >/dev/null 2>&1 || true + if [ "$1" != "instrument" ] ; then cmd activity "$@" else |