1#!/system/bin/sh 2 3if [ "$1" != "instrument" ] ; then 4 cmd activity "$@" 5else 6 base=/system 7 export CLASSPATH=$base/framework/am.jar 8 exec app_process $base/bin com.android.commands.am.Am "$@" 9fi 10