blob: ab2770ee2043c527e68b8029da82573de912add6 [file] [log] [blame]
Chris Ye3c5b8092020-08-07 09:15:19 -07001#!/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 "$@"