Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07b2f64 authored by Wei Wang's avatar Wei Wang Committed by Android (Google) Code Review
Browse files

Merge "Run AM as a top-app process" into main

parents 21b2641a a67f9185
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
#!/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