1#!/system/bin/sh
2
3# Preload the native portion libuinputcommand_jni.so to bypass the dependency
4# checks in the Java classloader, which prohibit dependencies that aren't
5# listed in system/core/rootdir/etc/public.libraries.android.txt.
6export LD_PRELOAD=libuinputcommand_jni.so
7
8export CLASSPATH=/system/framework/uinput.jar
9exec app_process /system/bin com.android.commands.uinput.Uinput "$@"
10