Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_frameworks_base
/
80a0a4e95dc96184fdeafa7f3c56f5a20da41b7c
/
.
/
tools
/
lock_agent
/
start_with_lockagent.sh
blob: 70ed5c5e1dd70a23165a8184be5f90e55a3ad427 [
file
] [
log
] [
blame
]
#!/system/bin/sh
AGENT_OPTIONS
=
if
[[
"$1"
==
--
agent
-
options
]]
;
then
shift
AGENT_OPTIONS
=
"=$1"
shift
fi
APP
=
$1
shift
$APP
-
Xplugin
:
libopenjdkjvmti
.
so
"-agentpath:liblockagent.so$AGENT_OPTIONS"
$@