summaryrefslogtreecommitdiff
path: root/cmds/uinput/uinput.sh
blob: ab2770ee2043c527e68b8029da82573de912add6 (plain)
1
2
3
4
5
6
7
8
9
#!/system/bin/sh

# Preload the native portion libuinputcommand_jni.so to bypass the dependency
# checks in the Java classloader, which prohibit dependencies that aren't
# listed in system/core/rootdir/etc/public.libraries.android.txt.
export LD_PRELOAD=libuinputcommand_jni.so

export CLASSPATH=/system/framework/uinput.jar
exec app_process /system/bin com.android.commands.uinput.Uinput "$@"